diff options
author | YamaArashi <shadow962@live.com> | 2016-11-01 19:59:02 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-11-01 19:59:02 -0700 |
commit | 458a09dbb976bd067319b1cd0ddcf7791cbba67e (patch) | |
tree | 961d58994277bafa7b57f9fd6e8d0fd89f13caea | |
parent | 92fdbda943df9765407ed106acf599276dfc360e (diff) |
fix hardcoded address
-rw-r--r-- | asm/m4a_1.s | 4 | ||||
-rw-r--r-- | sym_bss.txt | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/asm/m4a_1.s b/asm/m4a_1.s index d9af09f05..ffe2ca885 100644 --- a/asm/m4a_1.s +++ b/asm/m4a_1.s @@ -678,7 +678,7 @@ sub_81DD520: ldr r1, [r4, o_SoundChannel_wav] add r2, r2, r1 add r2, r2, 0x10 - ldr r5, =0x030007b8 + ldr r5, =gUnknown_030007B8 ldr r6, =gDeltaEncodingTable mov r7, 0x40 ldrb lr, [r2], 1 @@ -699,7 +699,7 @@ _081DD57C: subs r7, r7, 2 bgt _081DD568 _081DD594: - ldr r5, =0x030007b8 + ldr r5, =gUnknown_030007B8 and r0, r3, 0x3F ldrsb r1, [r5, r0] pop {r0,r2,r5-r7,pc} diff --git a/sym_bss.txt b/sym_bss.txt index 3be327b3f..3eca95b55 100644 --- a/sym_bss.txt +++ b/sym_bss.txt @@ -184,7 +184,10 @@ gUnknown_030007B0: @ 30007B0 .space 0x4 gUnknown_030007B4: @ 30007B4 - .space 0x774 + .space 0x4 + +gUnknown_030007B8: @ 30007B8 + .space 0x770 .include "src/agb_flash.o" .include "src/siirtc.o" |