diff options
| author | David Chavez <david@dcvz.io> | 2022-06-02 19:42:18 +0200 |
|---|---|---|
| committer | KiritoDev <36680385+KiritoDv@users.noreply.github.com> | 2022-06-02 12:43:16 -0500 |
| commit | e1affbdf9a9f01ba4a616a24e8de46f89bb8a2e7 (patch) | |
| tree | ee19b4972fcb31ea5dd9be9157c9692dc426cf84 /soh/src/code/audio_load.c | |
| parent | 332f8f93fb0b6a2587e6731198fdd40667c25524 (diff) | |
Fix function prototypes and types
Diffstat (limited to 'soh/src/code/audio_load.c')
| -rw-r--r-- | soh/src/code/audio_load.c | 4 |
1 files changed, 2 insertions, 2 deletions
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--; |
