aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 246a6bbb01..1f35490878 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -391,8 +391,16 @@ void Sound::playSound(int soundID) {
}
if (_scumm->_features & GF_OLD_BUNDLE) {
- if (_scumm->_playerV2)
- _scumm->_playerV2->startSound (soundID, ptr);
+ // FIXME: support amiga sounds
+ uint16 amigatest;
+ amigatest = READ_LE_UINT16(ptr + 12);
+ // other versions seem to be 0000 at this point...
+ // hopefully this test is correct
+ // 0xfe7f seems to be sound and 0x764a music
+ if ((amigatest != 0xfe7f) && (amigatest != 0x764a)) {
+ if (_scumm->_playerV2)
+ _scumm->_playerV2->startSound (soundID, ptr);
+ }
return;
}