aboutsummaryrefslogtreecommitdiff
path: root/scumm/saveload.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-01 21:19:52 +0000
committerPaweł Kołodziejski2002-10-01 21:19:52 +0000
commit7d6ebdc2891c1cea320e6ae51118373b686d84dd (patch)
tree994f25bbb918169a759623830564b3dfa4af54ea /scumm/saveload.cpp
parentc49e3e3eb8d2a9e6621f0fb253510900a77a8034 (diff)
downloadscummvm-rg350-7d6ebdc2891c1cea320e6ae51118373b686d84dd.tar.gz
scummvm-rg350-7d6ebdc2891c1cea320e6ae51118373b686d84dd.tar.bz2
scummvm-rg350-7d6ebdc2891c1cea320e6ae51118373b686d84dd.zip
added stopAll in Imuse
svn-id: r5064
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r--scumm/saveload.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index fadcc28645..bdbdb03516 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -111,6 +111,10 @@ bool Scumm::loadState(int slot, bool compat)
_current_version = hdr.ver;
memcpy(_saveLoadName, hdr.name, sizeof(hdr.name));
+ if (_imuseDigital) {
+ _imuseDigital->stopAll();
+ }
+
_sound->pauseSounds(true);
CHECK_HEAP openRoom(-1);