diff options
author | Filippos Karapetis | 2012-12-11 02:59:30 +0200 |
---|---|---|
committer | Filippos Karapetis | 2012-12-11 02:59:30 +0200 |
commit | 394ff222329922575bd936bf5d4be2e6daf7f001 (patch) | |
tree | f58455989bc206c0fe36628f59ae5327aea6dbe5 /engines | |
parent | b05fa7f20414d6a7571a9ba52f542e527f598c62 (diff) | |
download | scummvm-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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/music.cpp | 6 |
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; |