aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorMatthew Hoops2010-07-27 13:31:28 +0000
committerMatthew Hoops2010-07-27 13:31:28 +0000
commit596e10bb42c8b83802759ea272acb5af13df0d18 (patch)
tree6e46b19912b3beb7ccafc46f2b532a2f54f8f10f /engines/sci/sound
parent93e8daec20c45bfaee3422480fe85cadbd844436 (diff)
downloadscummvm-rg350-596e10bb42c8b83802759ea272acb5af13df0d18.tar.gz
scummvm-rg350-596e10bb42c8b83802759ea272acb5af13df0d18.tar.bz2
scummvm-rg350-596e10bb42c8b83802759ea272acb5af13df0d18.zip
SCI: Fix PCjr sound
svn-id: r51369
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/music.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 8908d022df..64a94ee510 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -65,7 +65,7 @@ void SciMusic::init() {
// Default to MIDI in SCI2.1+ games, as many don't have AdLib support.
Common::Platform platform = g_sci->getPlatform();
- uint32 dev = MidiDriver::detectDevice((getSciVersion() >= SCI_VERSION_2_1) ? (MDT_PCSPK | MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM) : (MDT_PCSPK | MDT_ADLIB | MDT_MIDI));
+ uint32 dev = MidiDriver::detectDevice((getSciVersion() >= SCI_VERSION_2_1) ? (MDT_PCSPK | MDT_PCJR | MDT_ADLIB | MDT_MIDI | MDT_PREFER_GM) : (MDT_PCSPK | MDT_PCJR | MDT_ADLIB | MDT_MIDI));
switch (MidiDriver::getMusicType(dev)) {
case MT_ADLIB: