From 79fe54d4b6a9c89d3fc327aec433eb34128c9f7f Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 17 Feb 2022 03:20:08 -0500 Subject: [PATCH] fix some glitches --- src/engine/engine.cpp | 4 ++-- src/engine/playback.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 8e88df545..2709cf823 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -4889,11 +4889,11 @@ void DivEngine::playSub(bool preserveDrift, int goalRow) { speedAB=false; playing=true; for (int i=0; isetSkipRegisterWrites(true); - while (curOrder=song.patLen) { + } else if (playing) if (++curRow>=song.patLen) { nextOrder(); if (haltOn==DIV_HALT_PATTERN) halted=true; }