From 1d204c752f82ef38a58d1f8d78af8585600f21a0 Mon Sep 17 00:00:00 2001 From: Kirben Date: Fri, 3 Jul 2015 09:39:30 +1000 Subject: SAGA: Fix Adlib in original DOS CD version of Inherit the Earth. --- engines/saga/music.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/saga') 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; -- cgit v1.2.3