Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)

svn-id: r11846
This commit is contained in:
Max Horn 2003-12-22 08:22:04 +00:00
parent 44f1ed75fd
commit 1e5496b2c8
11 changed files with 433 additions and 417 deletions

View file

@ -126,7 +126,8 @@ bool ScummEngine::loadState(int slot, bool compat, SaveFileManager *mgr) {
memcpy(_saveLoadName, hdr.name, sizeof(hdr.name));
_sound->stopAllSounds();
_sound->stopBundleMusic();
if (_imuseDigital)
_imuseDigital->stopBundleMusic();
_sound->stopCD();
_sound->pauseSounds(true);