From e1affbdf9a9f01ba4a616a24e8de46f89bb8a2e7 Mon Sep 17 00:00:00 2001 From: David Chavez Date: Thu, 2 Jun 2022 19:42:18 +0200 Subject: Fix function prototypes and types --- soh/src/code/audio_load.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'soh/src/code/audio_load.c') diff --git a/soh/src/code/audio_load.c b/soh/src/code/audio_load.c index c9a8c6c46..742eeafb3 100644 --- a/soh/src/code/audio_load.c +++ b/soh/src/code/audio_load.c @@ -373,7 +373,7 @@ void AudioLoad_InitTable(AudioTable* table, uintptr_t romAddr, u16 unkMediumPara SoundFontData* AudioLoad_SyncLoadSeqFonts(s32 seqId, u32* outDefaultFontId) { char pad[0x8]; s32 index; - SoundFontData* font; + SoundFontData* font = NULL; s32 numFonts; s32 fontId; s32 i; @@ -575,7 +575,7 @@ s32 AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2) { while (numFonts > 0) { fontId = gAudioContext.sequenceFontTable[index++]; - //if (gUseLegacySD) + if (gUseLegacySD) AudioLoad_SyncLoadFont(fontId); numFonts--; -- cgit v1.2.3