Fixed music overlaps when running ScummVM with the -x option
svn-id: r5872
This commit is contained in:
parent
6049cc9035
commit
b382c79a41
2 changed files with 9 additions and 8 deletions
|
@ -631,11 +631,14 @@ void Scumm::saveOrLoad(Serializer *s)
|
|||
int var120Backup;
|
||||
int var98Backup;
|
||||
|
||||
if (_mixer && !s->isSaving()) {
|
||||
if (_imuseDigital) {
|
||||
_imuseDigital->stopAll();
|
||||
} else {
|
||||
_mixer->stopAll();
|
||||
if (!s->isSaving()) {
|
||||
_sound->stopAllSounds();
|
||||
if (_mixer) {
|
||||
if (_imuseDigital) {
|
||||
_imuseDigital->stopAll();
|
||||
} else {
|
||||
_mixer->stopAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue