fix nextOrder still happening after FFxx

issue #1408
This commit is contained in:
tildearrow 2023-08-25 17:51:10 -05:00
parent 41316860a5
commit bd95a76a48
1 changed files with 5 additions and 1 deletions

View File

@ -1164,7 +1164,11 @@ void DivEngine::nextRow() {
}
if (haltOn==DIV_HALT_PATTERN) halted=true;
} else if (playing) if (++curRow>=curSubSong->patLen) {
nextOrder();
if (shallStopSched) {
curRow=curSubSong->patLen-1;
} else {
nextOrder();
}
if (haltOn==DIV_HALT_PATTERN) halted=true;
}