fix gSoundDataRaw (#66)

Co-authored-by: haxz5rxwi <haxz5rxwi@mozmail.com>
This commit is contained in:
unkn0wncvm1 2024-12-17 14:32:40 +03:00 committed by GitHub
parent 2df7ba9cdc
commit 5f05dbdc5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1046,7 +1046,7 @@ void audio_init() {
DEBUG_PRINT("- tbl alloc at %x", gAlTbl);
DEBUG_PRINT("- gSoundDataRaw at %x", gSoundDataRaw);
audio_dma_copy_immediate((uintptr_t) gSoundDataRaw, gAlTbl, size);
alSeqFileNew(gAlTbl, gSoundDataRaw);
alSeqFileNew(gAlTbl, (u8 *)gSoundDataRaw);
// Load bank sets for each sequence
gAlBankSets = soundAlloc(&gAudioInitPool, 0x100);