diff options
Diffstat (limited to 'engines/tinsel/music.cpp')
-rw-r--r-- | engines/tinsel/music.cpp | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/engines/tinsel/music.cpp b/engines/tinsel/music.cpp index 2a9804263a..e0c1f8d1f9 100644 --- a/engines/tinsel/music.cpp +++ b/engines/tinsel/music.cpp @@ -381,11 +381,25 @@ MidiMusicPlayer::MidiMusicPlayer(TinselEngine *vm) { bool milesAudioEnabled = false; if (vm->getPlatform() == Common::kPlatformDOS) { - // Enable Miles Audio for DOS only - milesAudioEnabled = true; + // Enable Miles Audio for DOS platform only... + switch (vm->getGameID()) { + case GID_DW1: + if (!vm->getIsADGFDemo()) { + // ...for Discworld 1 + milesAudioEnabled = true; + } else { + if (vm->isV1CD()) { + // ...and for Discworld 1 CD Demo + milesAudioEnabled = true; + } + } + break; + default: + break; + } } - if ((vm->getGameId() == GID_DW1) && (milesAudioEnabled)) { + if (milesAudioEnabled) { // Discworld 1 (DOS) uses Miles Audio 3 // use our own Miles Audio drivers // |