fix timer ticking during row play
This commit is contained in:
parent
a23a2ce91e
commit
4756599df0
|
@ -997,6 +997,7 @@ bool DivEngine::nextTick(bool noAccum) {
|
||||||
for (int i=0; i<song.systemLen; i++) disCont[i].dispatch->tick();
|
for (int i=0; i<song.systemLen; i++) disCont[i].dispatch->tick();
|
||||||
|
|
||||||
if (!freelance) {
|
if (!freelance) {
|
||||||
|
if (stepPlay!=1) {
|
||||||
if (!noAccum) {
|
if (!noAccum) {
|
||||||
totalTicksR++;
|
totalTicksR++;
|
||||||
totalTicks+=1000000/divider;
|
totalTicks+=1000000/divider;
|
||||||
|
@ -1007,6 +1008,7 @@ bool DivEngine::nextTick(bool noAccum) {
|
||||||
cmdsPerSecond=totalCmds-lastCmds;
|
cmdsPerSecond=totalCmds-lastCmds;
|
||||||
lastCmds=totalCmds;
|
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);
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue