parent
4d14a19267
commit
fbb6c4cb4f
4 changed files with 51 additions and 38 deletions
|
|
@ -5952,11 +5952,14 @@ void DivEngine::setOrder(unsigned char order) {
|
|||
isBusy.unlock();
|
||||
}
|
||||
|
||||
void DivEngine::setSysFlags(int system, unsigned int flags) {
|
||||
void DivEngine::setSysFlags(int system, unsigned int flags, bool restart) {
|
||||
isBusy.lock();
|
||||
song.systemFlags[system]=flags;
|
||||
disCont[system].dispatch->setFlags(song.systemFlags[system]);
|
||||
disCont[system].setRates(got.rate);
|
||||
if (restart) {
|
||||
playSub(false);
|
||||
}
|
||||
isBusy.unlock();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue