sys flags: don't play when song is stopped

This commit is contained in:
tildearrow 2022-03-19 22:03:12 -05:00
parent 4593e33064
commit 90a18611cd

View file

@ -2211,7 +2211,7 @@ void DivEngine::setSysFlags(int system, unsigned int flags, bool restart) {
song.systemFlags[system]=flags;
disCont[system].dispatch->setFlags(song.systemFlags[system]);
disCont[system].setRates(got.rate);
if (restart) {
if (restart && isPlaying()) {
playSub(false);
}
isBusy.unlock();