fix timer ticking during row play

This commit is contained in:
tildearrow 2022-02-08 17:43:26 -05:00
parent a23a2ce91e
commit 4756599df0
1 changed files with 11 additions and 9 deletions

View File

@ -997,6 +997,7 @@ bool DivEngine::nextTick(bool noAccum) {
for (int i=0; i<song.systemLen; i++) disCont[i].dispatch->tick();
if (!freelance) {
if (stepPlay!=1) {
if (!noAccum) {
totalTicksR++;
totalTicks+=1000000/divider;
@ -1007,6 +1008,7 @@ bool DivEngine::nextTick(bool noAccum) {
cmdsPerSecond=totalCmds-lastCmds;
lastCmds=totalCmds;
}
}
if (consoleMode) fprintf(stderr,"\x1b[2K> %d:%.2d:%.2d.%.2d %.2x/%.2x:%.3d/%.3d %4dcmd/s\x1b[G",totalSeconds/3600,(totalSeconds/60)%60,totalSeconds%60,totalTicks/10000,curOrder,song.ordersLen,curRow,song.patLen,cmdsPerSecond);
}