Improve fsTryOpenFile pattern (fixes Zelda Triforce Heroes)

This commit is contained in:
Aurora Wright
2017-04-23 18:44:46 +02:00
parent 2e561f7ea9
commit 8d102256a2
2 changed files with 7 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ _start:
.word 0xdead0002 ; Substituted opcode
.word 0xdead0003 ; Branch to hooked function
; Mounts the archive and registers it as 'lfs:'
; Mounts the archive and registers it as 'lf:'
mountArchive:
cmp r3, #3
bne _mountArchive + 4
@@ -90,7 +90,7 @@ _start:
.pool
.align 4
archiveName : .dcb "lfs:"
archiveName : .dcb "lf:", 0
fsMountArchive : .word 0xdead0005
fsRegisterArchive : .word 0xdead0006
archiveId : .word 0xdead0007