fix FFxx and "reset channels" loop modality

issue #1427
This commit is contained in:
tildearrow 2023-08-28 16:02:29 -05:00
parent 684633aa1e
commit 281598812c
1 changed files with 1 additions and 1 deletions

View File

@ -1173,7 +1173,7 @@ void DivEngine::nextRow() {
}
// new loop detection routine
if (!endOfSong && walked[((curOrder<<5)+(curRow>>3))&8191]&(1<<(curRow&7))) {
if (!endOfSong && walked[((curOrder<<5)+(curRow>>3))&8191]&(1<<(curRow&7)) && !shallStopSched) {
logV("loop reached");
endOfSong=true;
memset(walked,0,8192);