mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-09 03:37:49 +03:00
fix
This commit is contained in:
parent
41b56564dd
commit
8640e2199a
@ -28,4 +28,4 @@ audio_soundfont_table:
|
|||||||
{ type: NAUDIO:V1:AUDIO_TABLE, format: SOUNDFONT, offset: 0xC51B0, symbol: gSoundFontTableInit }
|
{ type: NAUDIO:V1:AUDIO_TABLE, format: SOUNDFONT, offset: 0xC51B0, symbol: gSoundFontTableInit }
|
||||||
|
|
||||||
audio_seq_font_table:
|
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 }
|
@ -1281,6 +1281,7 @@ void AudioSeq_SequencePlayerProcessSequence(SequencePlayer* seqPlayer) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
seqPlayer->tempoAcc = (seqPlayer->tempoAcc - gMaxTempo) & 0xFFFF; // fake?
|
seqPlayer->tempoAcc = (seqPlayer->tempoAcc - gMaxTempo) & 0xFFFF; // fake?
|
||||||
|
|
||||||
bool euRunning = GameEngine_HasVersion(SF64_VER_EU);
|
bool euRunning = GameEngine_HasVersion(SF64_VER_EU);
|
||||||
|
|
||||||
if (seqPlayer->delay > 1) {
|
if (seqPlayer->delay > 1) {
|
||||||
@ -1289,9 +1290,6 @@ void AudioSeq_SequencePlayerProcessSequence(SequencePlayer* seqPlayer) {
|
|||||||
temp_s0 = &seqPlayer->scriptState;
|
temp_s0 = &seqPlayer->scriptState;
|
||||||
seqPlayer->recalculateVolume = true;
|
seqPlayer->recalculateVolume = true;
|
||||||
while (true) {
|
while (true) {
|
||||||
if(euRunning && temp_s0->pc == NULL){
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
temp_s2 = AudioSeq_ScriptReadU8(temp_s0);
|
temp_s2 = AudioSeq_ScriptReadU8(temp_s0);
|
||||||
if (temp_s2 == 0xFF) {
|
if (temp_s2 == 0xFF) {
|
||||||
if (temp_s0->depth == 0) {
|
if (temp_s0->depth == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user