fix hardcoded address

This commit is contained in:
YamaArashi 2016-11-01 19:59:02 -07:00
parent 92fdbda943
commit 458a09dbb9
2 changed files with 6 additions and 3 deletions

View File

@ -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}

View File

@ -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"