document decoding buffer

This commit is contained in:
Kurausukun 2021-04-16 00:58:54 -04:00
parent c4ef45c161
commit 3e804cb7d1

View File

@ -678,7 +678,7 @@ sub_82DF758:
ldr r1, [r4, o_SoundChannel_wav]
add r2, r2, r1
add r2, r2, 0x10
ldr r5, =gUnknown_03001300
ldr r5, =gDecodingBuffer
ldr r6, =gDeltaEncodingTable
mov r7, 0x40
ldrb lr, [r2], 1
@ -699,7 +699,7 @@ _081DD57C:
subs r7, r7, 2
bgt _081DD568
_081DD594:
ldr r5, =gUnknown_03001300
ldr r5, =gDecodingBuffer
and r0, r3, 0x3F
ldrsb r1, [r5, r0]
pop {r0,r2,r5-r7,pc}
@ -1909,9 +1909,9 @@ _081DDD90:
.align 2, 0 @ Don't pad with nop.
.bss
gUnknown_03001300:
gDecodingBuffer: @ Used as a buffer for audio decoded from compressed DPCM
.space 0x40
.size gUnknown_03001300, .-gUnknown_03001300
.size gDecodingBuffer, .-gDecodingBuffer
.global gMPlayTrack_BGM
gMPlayTrack_BGM: