ref: 32a39e9d1f2080597df18700462bc14a2f5e871f
parent: 224f6c27ade47c974e17aae62745bf58db36633d
author: Olav Sørensen <olav.sorensen@live.no>
date: Wed Aug 17 19:10:45 EDT 2022
Set tick to 0 on step play (fixes ECx where x=speed-1)
--- a/src/pt2_replayer.c
+++ b/src/pt2_replayer.c
@@ -1346,7 +1346,11 @@
audio.tickSampleCounter64 = 0; // zero tick sample counter so that it will instantly initiate a tick
song->currRow = song->row = startRow & 0x3F;
- song->tick = song->speed-1;
+ if (!editor.stepPlayEnabled)
+ song->tick = song->speed-1;
+ else
+ song->tick = 0;
+
ciaSetBPM = -1; // fix possibly stuck "set BPM" flag
editor.playMode = PLAY_MODE_PATTERN;