sys flags: don't play when song is stopped
This commit is contained in:
parent
4593e33064
commit
90a18611cd
|
@ -2211,7 +2211,7 @@ void DivEngine::setSysFlags(int system, unsigned int flags, bool restart) {
|
||||||
song.systemFlags[system]=flags;
|
song.systemFlags[system]=flags;
|
||||||
disCont[system].dispatch->setFlags(song.systemFlags[system]);
|
disCont[system].dispatch->setFlags(song.systemFlags[system]);
|
||||||
disCont[system].setRates(got.rate);
|
disCont[system].setRates(got.rate);
|
||||||
if (restart) {
|
if (restart && isPlaying()) {
|
||||||
playSub(false);
|
playSub(false);
|
||||||
}
|
}
|
||||||
isBusy.unlock();
|
isBusy.unlock();
|
||||||
|
|
Loading…
Reference in a new issue