don't eat the last row in audio file out

This commit is contained in:
tildearrow 2021-12-08 02:22:19 -05:00
parent 6a02754996
commit db2bfb8aa3

View file

@ -579,6 +579,7 @@ bool DivEngine::nextTick() {
} }
} }
if (--ticks<=0) { if (--ticks<=0) {
ret=endOfSong;
nextRow(); nextRow();
} }
// process stuff // process stuff
@ -674,8 +675,6 @@ bool DivEngine::nextTick() {
lastCmds=totalCmds; lastCmds=totalCmds;
} }
ret=endOfSong;
endOfSong=false;
return ret; return ret;
} }