summaryrefslogtreecommitdiff
path: root/src/audio/audio_load.c
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2025-02-06 21:33:39 -0600
committerKiritoDv <kiritodev01@gmail.com>2025-02-06 21:33:39 -0600
commit784db6dcaed6e597fbe74e826e73cf94b874c9af (patch)
treea9d76839fd7fb25102db31200e45abada7f50b9b /src/audio/audio_load.c
parent6a52c9a2ae9290247062744bb9e69f6b6c3b49c9 (diff)
WIP Sequence importerseq-importer
Diffstat (limited to 'src/audio/audio_load.c')
-rw-r--r--src/audio/audio_load.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/audio/audio_load.c b/src/audio/audio_load.c
index c5804b62..3b4fbff2 100644
--- a/src/audio/audio_load.c
+++ b/src/audio/audio_load.c
@@ -402,6 +402,7 @@ void AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2) {
AudioLoad_SyncLoadFont(fontId);
}
+ printf("seqId: %d\n", seqId);
seqData = AudioLoad_SyncLoadSeq(seqId);
AudioSeq_ResetSequencePlayer(playerIdx);
@@ -416,8 +417,15 @@ void AudioLoad_SyncInitSeqPlayerInternal(s32 playerIdx, s32 seqId, s32 arg2) {
gSeqPlayers[playerIdx].finished = false;
}
+char* WriteDummySequence();
+
void* AudioLoad_SyncLoadSeq(s32 seqId) {
+ // if(seqId == 9 || seqId == 21){
+ // return WriteDummySequence();
+ // }
AudioTable* table = AudioLoad_GetLoadTable(SEQUENCE_TABLE);
+ char* seqPath = ResourceGetNameByCrc((uint64_t) table->entries[seqId].romAddr);
+ printf("seqPath: %s\n", seqPath);
return ResourceGetDataByCrc((uint64_t) table->entries[seqId].romAddr);
}