diff options
author | Martin Kiewitz | 2016-02-09 02:14:08 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-09 02:14:08 +0100 |
commit | 1d8646ee015fbf34e5d9fcc7e5f4ff589762a830 (patch) | |
tree | 2ceaefa8701e9bbd1c4729e9ec53cf6720ddffad /engines/tinsel | |
parent | ce595cb92d5862c0bc5cdd703d1dd4e286ed3db9 (diff) | |
download | scummvm-rg350-1d8646ee015fbf34e5d9fcc7e5f4ff589762a830.tar.gz scummvm-rg350-1d8646ee015fbf34e5d9fcc7e5f4ff589762a830.tar.bz2 scummvm-rg350-1d8646ee015fbf34e5d9fcc7e5f4ff589762a830.zip |
TINSEL: Enable Miles Audio for DW1+DW1CD Demo only
DW1 floppy demo doesn't seem to have audio at all
Diffstat (limited to 'engines/tinsel')
-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 // |