aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-12-22 06:02:49 +0000
committerTorbjörn Andersson2009-12-22 06:02:49 +0000
commit899d5769765a165eb8fc326dba330b28b6596435 (patch)
tree0e87918df7752c6c9bdaa953b3a1413a363086f0 /engines/sci
parent0d82924fbe76efd27f4b439940cd916cfa2c65dd (diff)
downloadscummvm-rg350-899d5769765a165eb8fc326dba330b28b6596435.tar.gz
scummvm-rg350-899d5769765a165eb8fc326dba330b28b6596435.tar.bz2
scummvm-rg350-899d5769765a165eb8fc326dba330b28b6596435.zip
The detectMusicDriver() function returns MD_-something, not MDT_-something.
svn-id: r46478
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sfx/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp
index 74ad9315d4..60c4436cd1 100644
--- a/engines/sci/sfx/music.cpp
+++ b/engines/sci/sfx/music.cpp
@@ -67,7 +67,7 @@ void SciMusic::init() {
_midiType = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PCSPK);
// Sanity check
- if (_midiType != MDT_MIDI && _midiType != MDT_ADLIB && _midiType != MDT_PCSPK) {
+ if (_midiType != MD_ADLIB && _midiType != MD_PCJR && _midiType != MD_PCSPK) {
warning("Unhandled MIDI type, switching to Adlib");
_midiType = MD_ADLIB;
}