diff options
| author | red031000 <rubenru09@aol.com> | 2020-06-27 17:52:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-27 17:52:35 +0100 |
| commit | c202e7568c660ce16853f6f21720240615b692f4 (patch) | |
| tree | 0e6f9932e67d56a8d2342ee11f74e0ce1e6e44d7 /arm9/src/sound.c | |
| parent | 981bf953cbf711eca70d31ccec297ac38501ffd8 (diff) | |
| parent | 51afc1756ecf096739b2b75806ed738bd7d56b18 (diff) | |
Merge pull request #191 from PikalaxALT/pikalax_work
Sound and script cleanup; fixrom + makerom
Diffstat (limited to 'arm9/src/sound.c')
| -rw-r--r-- | arm9/src/sound.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arm9/src/sound.c b/arm9/src/sound.c index a89d0f56..d971872f 100644 --- a/arm9/src/sound.c +++ b/arm9/src/sound.c @@ -28,11 +28,11 @@ extern void FUN_02005CFC(void); void InitSoundData(u32 a0, struct Options * a1) { struct SoundData * sdat = GetSoundDataPointer(); - FUN_020C01D0(); + SDAT_Init(); FUN_020040C8(); FUN_02004064(sdat); sdat->unk_00090 = FUN_020C2A94(sdat->unk_00094, sizeof(sdat->unk_00094)); - FUN_020C26F8(&sdat->header, "data/sound/sound_data.sdat", sdat->unk_00090, 0); + SDAT_Open(&sdat->header, "data/sound/sound_data.sdat", sdat->unk_00090, 0); FUN_020C39CC(sdat->unk_00090); FUN_02004088(sdat); FUN_020040A4(sdat); @@ -41,7 +41,7 @@ void InitSoundData(u32 a0, struct Options * a1) FUN_02004D60(a1->unk0_4); } -void FUN_02003C10(void) +void DoSoundUpdateFrame(void) { struct SoundData * sdat = GetSoundDataPointer(); if (!FUN_02003D04()) |
