diff options
author | Kirben | 2015-07-05 11:41:10 +1000 |
---|---|---|
committer | Kirben | 2015-07-05 11:41:10 +1000 |
commit | cf92118507f907e03f36b8dcd64a24e161a51712 (patch) | |
tree | 4ff91055ecbc5ba9cda499665a7cb902e7ce841b /engines/agos | |
parent | a7fe40d3b18aa23d76ea33381efa6b48414abe2b (diff) | |
download | scummvm-rg350-cf92118507f907e03f36b8dcd64a24e161a51712.tar.gz scummvm-rg350-cf92118507f907e03f36b8dcd64a24e161a51712.tar.bz2 scummvm-rg350-cf92118507f907e03f36b8dcd64a24e161a51712.zip |
AGOS: Fix turning music on and off in Amiga versions.
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/input.cpp | 1 | ||||
-rw-r--r-- | engines/agos/res_snd.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/agos/input.cpp b/engines/agos/input.cpp index 687a8ef1cf..686b1c35b2 100644 --- a/engines/agos/input.cpp +++ b/engines/agos/input.cpp @@ -707,6 +707,7 @@ bool AGOSEngine::processSpecialKeys() { if (_midiEnabled) { _midi->pause(_musicPaused); } + _mixer->pauseHandle(_modHandle, _musicPaused); syncSoundSettings(); break; case 's': diff --git a/engines/agos/res_snd.cpp b/engines/agos/res_snd.cpp index c02cf96af3..d04f1735d6 100644 --- a/engines/agos/res_snd.cpp +++ b/engines/agos/res_snd.cpp @@ -220,6 +220,7 @@ void AGOSEngine::playModule(uint16 music) { } _mixer->playStream(Audio::Mixer::kMusicSoundType, &_modHandle, audioStream); + _mixer->pauseHandle(_modHandle, _musicPaused); } void AGOSEngine_Simon1::playMusic(uint16 music, uint16 track) { |