mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
fix some glitches
This commit is contained in:
parent
bacf57bb65
commit
79fe54d4b6
2 changed files with 3 additions and 3 deletions
|
@ -4889,11 +4889,11 @@ void DivEngine::playSub(bool preserveDrift, int goalRow) {
|
|||
speedAB=false;
|
||||
playing=true;
|
||||
for (int i=0; i<song.systemLen; i++) disCont[i].dispatch->setSkipRegisterWrites(true);
|
||||
while (curOrder<goal) {
|
||||
while (playing && curOrder<goal) {
|
||||
if (nextTick(preserveDrift)) break;
|
||||
}
|
||||
int oldOrder=curOrder;
|
||||
while (curRow<goalRow) {
|
||||
while (playing && curRow<goalRow) {
|
||||
if (nextTick(preserveDrift)) break;
|
||||
if (oldOrder!=curOrder) break;
|
||||
}
|
||||
|
|
|
@ -859,7 +859,7 @@ void DivEngine::nextRow() {
|
|||
changeOrd=-1;
|
||||
}
|
||||
if (haltOn==DIV_HALT_PATTERN) halted=true;
|
||||
} else if (++curRow>=song.patLen) {
|
||||
} else if (playing) if (++curRow>=song.patLen) {
|
||||
nextOrder();
|
||||
if (haltOn==DIV_HALT_PATTERN) halted=true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue