aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2012-12-11 02:59:30 +0200
committerFilippos Karapetis2012-12-11 02:59:30 +0200
commit394ff222329922575bd936bf5d4be2e6daf7f001 (patch)
treef58455989bc206c0fe36628f59ae5327aea6dbe5
parentb05fa7f20414d6a7571a9ba52f542e527f598c62 (diff)
downloadscummvm-rg350-394ff222329922575bd936bf5d4be2e6daf7f001.tar.gz
scummvm-rg350-394ff222329922575bd936bf5d4be2e6daf7f001.tar.bz2
scummvm-rg350-394ff222329922575bd936bf5d4be2e6daf7f001.zip
TINSEL: Add another check to skip the non-MIDI music of DW1 Mac
-rw-r--r--engines/tinsel/music.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/tinsel/music.cpp b/engines/tinsel/music.cpp
index 952b629f08..91f0312101 100644
--- a/engines/tinsel/music.cpp
+++ b/engines/tinsel/music.cpp
@@ -135,6 +135,10 @@ bool PlayMidiSequence(uint32 dwFileOffset, bool bLoop) {
if (ConfMan.hasKey("mute"))
mute = ConfMan.getBool("mute");
+ // TODO: The Macintosh version of DW1 does not use MIDI for music
+ if (TinselV1Mac)
+ return true;
+
SetMidiVolume(mute ? 0 : _vm->_config->_musicVolume);
// the index and length of the last tune loaded
@@ -281,7 +285,7 @@ void OpenMidiFiles() {
if (TinselV0 || TinselV2)
return;
- // TODO: The Macintosh version does not use MIDI for music
+ // TODO: The Macintosh version of DW1 does not use MIDI for music
if (TinselV1Mac)
return;