GBA-Exploader/arm7/source/linkreset_arm7.s
ApacheThunder 11ea610150 Fix fifo ...
* 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.
2024-05-08 15:24:51 -05:00

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