Fixed audio font loading

This commit is contained in:
Kevin Alexis Contreras 2022-06-02 17:52:58 -05:00
parent a4460c26ef
commit d42c0ca23f
2 changed files with 2 additions and 4 deletions

View File

@ -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--;
@ -890,7 +890,7 @@ void AudioLoad_RelocateFont(s32 fontId, SoundFontData* mem, RelocInfo* relocInfo
void** ptrs = (void**)mem;
#define BASE_OFFSET(x) (void*)((u32)(x) + (u32)(mem))
#define BASE_OFFSET(x) (void*)((uintptr_t)(x) + (uintptr_t)(mem))
reloc2 = ptrs[0];
if (1) {}

View File

@ -4420,8 +4420,6 @@ void func_800F5918(void) {
void func_800F595C(u16 arg0) {
u8 arg0b = arg0 & 0xFF;
return; // OTRTODO60
if (sSeqFlags[arg0b] & 2) {
Audio_PlayFanfare(arg0);
} else if (sSeqFlags[arg0b] & 4) {