aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-07-06 06:19:52 +0000
committerTravis Howell2003-07-06 06:19:52 +0000
commit580e9ec770e3fd7ddc950e122f9ffd797bc205f7 (patch)
treeec27d1ffd78196ba8039a04f14d0a911e9fcd63f /scumm/sound.cpp
parentfb6b42bb93353e45f917caf2f10f82e601452847 (diff)
downloadscummvm-rg350-580e9ec770e3fd7ddc950e122f9ffd797bc205f7.tar.gz
scummvm-rg350-580e9ec770e3fd7ddc950e122f9ffd797bc205f7.tar.bz2
scummvm-rg350-580e9ec770e3fd7ddc950e122f9ffd797bc205f7.zip
Add support for Amiga version of Monkey Island 1
Palette is still wrong svn-id: r8790
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 6bac62dd21..897854ebe5 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -463,7 +463,9 @@ void Sound::playSound(int soundID) {
// This hack relays on the fact that we currently don't support SFX
// in these games, only music. Once we add SFX support, we'll have to
// revise it / replace it by a proper fix.
- if (ptr) {
+ if (_scumm->_features & GF_AMIGA)
+ return;
+ else if (ptr) {
_scumm->_imuse->stop_all_sounds();
}
}