cleanup sfx and music in imuse, changed talkdelay description(disable) in the dig

svn-id: r5148
This commit is contained in:
Paweł Kołodziejski 2002-10-15 06:53:42 +00:00
parent 3fb3f65a18
commit 45b1a8ea45
7 changed files with 94 additions and 40 deletions

View file

@ -115,6 +115,8 @@ bool Scumm::loadState(int slot, bool compat)
_imuseDigital->stopAll();
}
_sound->stopBundleMusic();
_sound->pauseSounds(true);
CHECK_HEAP openRoom(-1);
@ -614,8 +616,13 @@ void Scumm::saveOrLoad(Serializer *s)
int var120Backup;
int var98Backup;
if (_mixer && !s->isSaving())
_mixer->stopAll();
if (_mixer && !s->isSaving()) {
if (_imuseDigital) {
_imuseDigital->stopAll();
} else {
_mixer->stopAll();
}
}
if (_current_version == VER_V9)
s->saveLoadEntries(this, mainEntriesV9);