This commit is contained in:
Sonic Dreamcaster 2025-02-01 04:12:14 -03:00
parent 41b56564dd
commit 8640e2199a
2 changed files with 2 additions and 4 deletions

View File

@ -28,4 +28,4 @@ audio_soundfont_table:
{ type: NAUDIO:V1:AUDIO_TABLE, format: SOUNDFONT, offset: 0xC51B0, symbol: gSoundFontTableInit }
audio_seq_font_table:
{ type: ARRAY, count: 287, array_type: u8, offset: 0xC53E0, symbol: gSeqFontTableInit }
{ type: ARRAY, count: 288, array_type: u8, offset: 0xC53E0, symbol: gSeqFontTableInit }

View File

@ -1281,6 +1281,7 @@ void AudioSeq_SequencePlayerProcessSequence(SequencePlayer* seqPlayer) {
}
seqPlayer->tempoAcc = (seqPlayer->tempoAcc - gMaxTempo) & 0xFFFF; // fake?
bool euRunning = GameEngine_HasVersion(SF64_VER_EU);
if (seqPlayer->delay > 1) {
@ -1289,9 +1290,6 @@ void AudioSeq_SequencePlayerProcessSequence(SequencePlayer* seqPlayer) {
temp_s0 = &seqPlayer->scriptState;
seqPlayer->recalculateVolume = true;
while (true) {
if(euRunning && temp_s0->pc == NULL){
break;
}
temp_s2 = AudioSeq_ScriptReadU8(temp_s0);
if (temp_s2 == 0xFF) {
if (temp_s0->depth == 0) {