Added load seq

This commit is contained in:
KiritoDv 2024-10-29 08:02:25 -06:00
parent 52d3eca421
commit 9c9aca051d

View File

@ -245,6 +245,7 @@ void* AudioLoad_SyncLoadSeqFonts(s32 seqId, u32* outFontId) {
}
*outFontId = fontId;
gSeqLoadStatus[seqId] = 2;
return soundFontData;
}
@ -260,6 +261,8 @@ void AudioLoad_SyncLoadSeqParts(s32 seqId, s32 flags) {
if (flags & 1) {
AudioLoad_SyncLoadSeq(seqId);
}
gSeqLoadStatus[seqId] = 2;
}
s32 AudioLoad_SyncLoadSample(Sample* sample, s32 fontId) {
@ -414,6 +417,7 @@ void AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2) {
void* AudioLoad_SyncLoadSeq(s32 seqId) {
AudioTable* table = AudioLoad_GetLoadTable(SEQUENCE_TABLE);
gSeqLoadStatus[seqId] = 2;
return Audio_LoadBlob(gAudioTable, table->entries[seqId].romAddr);
}