aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorKirben2015-07-03 09:39:30 +1000
committerKirben2015-07-03 09:39:30 +1000
commit1d204c752f82ef38a58d1f8d78af8585600f21a0 (patch)
treec649f3c11c7358802f90db5b8109fc4de392f9e9 /engines/saga
parent10e3e4811cb930dcfc5a5e6422b07b7a6f24ef67 (diff)
downloadscummvm-rg350-1d204c752f82ef38a58d1f8d78af8585600f21a0.tar.gz
scummvm-rg350-1d204c752f82ef38a58d1f8d78af8585600f21a0.tar.bz2
scummvm-rg350-1d204c752f82ef38a58d1f8d78af8585600f21a0.zip
SAGA: Fix Adlib in original DOS CD version of Inherit the Earth.
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/music.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp
index bc583ed7b0..71d061a0a0 100644
--- a/engines/saga/music.cpp
+++ b/engines/saga/music.cpp
@@ -49,7 +49,11 @@ MusicDriver::MusicDriver() : _isGM(false) {
switch (_driverType) {
case MT_ADLIB:
_milesAudioMode = true;
- _driver = Audio::MidiDriver_Miles_AdLib_create("SAMPLE.AD", "SAMPLE.OPL");
+ if (Common::File::exists("INSTR.AD") && Common::File::exists("INSTR.OPL")) {
+ _driver = Audio::MidiDriver_Miles_AdLib_create("INSTR.AD", "INSTR.OPL");
+ } else {
+ _driver = Audio::MidiDriver_Miles_AdLib_create("SAMPLE.AD", "SAMPLE.OPL");
+ }
break;
case MT_MT32:
_milesAudioMode = true;