aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorFilippos Karapetis2011-10-06 23:30:07 +0300
committerFilippos Karapetis2011-10-06 23:33:00 +0300
commit1117c8c3ed82315da58b695e1975db84500659b0 (patch)
tree888b5f0e7ed0160652d8682782597319c8770bbc /engines/sci/sound
parentf20b8ecaa121afd437fd9d15c71881ff4f3d2696 (diff)
downloadscummvm-rg350-1117c8c3ed82315da58b695e1975db84500659b0.tar.gz
scummvm-rg350-1117c8c3ed82315da58b695e1975db84500659b0.tar.bz2
scummvm-rg350-1117c8c3ed82315da58b695e1975db84500659b0.zip
SCI: Also default to MIDI for Windows versions of SCI1.1 games
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/music.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 2afab3858d..9610b6f847 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -63,12 +63,13 @@ void SciMusic::init() {
// SCI sound init
_dwTempo = 0;
- // Default to MIDI in SCI2.1+ games, as many don't have AdLib support.
Common::Platform platform = g_sci->getPlatform();
-
uint32 deviceFlags = MDT_PCSPK | MDT_PCJR | MDT_ADLIB | MDT_MIDI;
- if (getSciVersion() >= SCI_VERSION_2_1)
+ // Default to MIDI in SCI2.1+ games, as many don't have AdLib support.
+ // Also, default to MIDI for Windows versions of SCI1.1 games, as their
+ // soundtrack is written for GM.
+ if (getSciVersion() >= SCI_VERSION_2_1 || g_sci->_features->useAltWinGMSound())
deviceFlags |= MDT_PREFER_GM;
// Currently our CMS implementation only supports SCI1(.1)