add stop song effect! finally!

This commit is contained in:
tildearrow 2022-02-17 03:15:51 -05:00
parent 09144b95f9
commit bacf57bb65
3 changed files with 24 additions and 7 deletions

View file

@ -738,7 +738,15 @@ void DivEngine::processRow(int i, bool afterDelay) {
case 0xef: // global pitch
globalPitch+=(signed char)(effectVal-0x80);
break;
case 0xff: // stop song TODO
case 0xff: // stop song
freelance=false;
playing=false;
extValuePresent=false;
stepPlay=0;
remainingLoops=-1;
sPreview.sample=-1;
sPreview.wave=-1;
sPreview.pos=0;
break;
}
}