From bd95a76a4851fb94c392856cebeb50edeb8916c5 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 25 Aug 2023 17:51:10 -0500 Subject: [PATCH] fix nextOrder still happening after FFxx issue #1408 --- src/engine/playback.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/playback.cpp b/src/engine/playback.cpp index 0078b015..7483a972 100644 --- a/src/engine/playback.cpp +++ b/src/engine/playback.cpp @@ -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; }