aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2011-07-29 20:08:56 +1000
committerPaul Gilbert2011-07-29 20:08:56 +1000
commit9f00f18e4efd84202146d683abc007508ca0f222 (patch)
treeb642f5aea07f1d98197a031824bb6a5591bd9450 /engines
parentc1870551b07b0ea16ecfc4bd8e1ce7175a08978e (diff)
downloadscummvm-rg350-9f00f18e4efd84202146d683abc007508ca0f222.tar.gz
scummvm-rg350-9f00f18e4efd84202146d683abc007508ca0f222.tar.bz2
scummvm-rg350-9f00f18e4efd84202146d683abc007508ca0f222.zip
TSAGE: Explicitly call the mixer stopAll() when shutting down
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index 2d51d5dedf..60b11e3f8c 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -54,6 +54,7 @@ SoundManager::SoundManager() {
SoundManager::~SoundManager() {
if (__sndmgrReady) {
Common::StackLock slock(_serverDisabledMutex);
+ _vm->_mixer->stopAll();
for (Common::List<Sound *>::iterator i = _soundList.begin(); i != _soundList.end(); ) {
Sound *s = *i;