mirror of
https://github.com/ApacheThunder/GBA-Exploader.git
synced 2025-06-18 11:35:38 -04:00

* FIFO on arm7 appears to now work as intended. * GBA mode switch funcition remains broken. * Default GBA_Exploader.ini file now created if one is not present. * Moved GBA_File struct to ctrl_tble and removed duplicate from main.c. This was causing issues where I would forget to update both when I removed the now unused Alias char array. All code now shares the single instance which will prevent this issue should this struct need to be updated in the future.
21 lines
389 B
ArmAsm
21 lines
389 B
ArmAsm
.TEXT
|
|
.ARM
|
|
|
|
@---------------------------------------------------------------------------------------
|
|
.GLOBAL LinkReset_ARM7
|
|
.func LinkReset_ARM7
|
|
@---------------------------------------------------------------------------------------
|
|
LinkReset_ARM7:
|
|
MOV R12,#0x2800000
|
|
LDR R1,[R12,#-0x1DC]
|
|
ADD R1,R1,#0x1FC
|
|
CMP R12, R1
|
|
|
|
SUBEQ R15,R12,#0x700000
|
|
|
|
BX LR
|
|
|
|
.endfunc
|
|
|
|
.end
|