mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-16 01:35:07 +00:00
reset on end of song
This commit is contained in:
parent
28a9d2c4a3
commit
004e8341c2
1 changed files with 4 additions and 0 deletions
|
@ -675,6 +675,10 @@ bool DivEngine::nextTick() {
|
||||||
|
|
||||||
if (--ticks<=0) {
|
if (--ticks<=0) {
|
||||||
ret=endOfSong;
|
ret=endOfSong;
|
||||||
|
if (endOfSong) {
|
||||||
|
reset();
|
||||||
|
}
|
||||||
|
endOfSong=false;
|
||||||
nextRow();
|
nextRow();
|
||||||
}
|
}
|
||||||
// process stuff
|
// process stuff
|
||||||
|
|
Loading…
Reference in a new issue