aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJamieson Christian2003-05-19 19:50:28 +0000
committerJamieson Christian2003-05-19 19:50:28 +0000
commit7bf95c0cf02e976ad796eef3a3e9bf2f9d81950b (patch)
tree2ff3ec2b921f3de9f2b22b515fbf10f893ce9825 /common
parent996614936a4146a62b824123fb388e0dae009b95 (diff)
downloadscummvm-rg350-7bf95c0cf02e976ad796eef3a3e9bf2f9d81950b.tar.gz
scummvm-rg350-7bf95c0cf02e976ad796eef3a3e9bf2f9d81950b.tar.bz2
scummvm-rg350-7bf95c0cf02e976ad796eef3a3e9bf2f9d81950b.zip
Fixed silence in older games under native MIDI drivers
svn-id: r7697
Diffstat (limited to 'common')
-rw-r--r--common/gameDetector.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp
index 2d4dafb226..0d01028915 100644
--- a/common/gameDetector.cpp
+++ b/common/gameDetector.cpp
@@ -632,9 +632,10 @@ int GameDetector::detectMain() {
/* Use the adlib sound driver if auto mode is selected,
* and the game is one of those that want adlib as
- * default */
+ * default, OR if the game is an older game that doesn't
+ * support anything else anyway. */
#ifndef __PALM_OS__ // currently adlib is not supported, is this really needed ?
- if (_midi_driver == MD_AUTO && _features & GF_ADLIB_DEFAULT) {
+ if ((_midi_driver == MD_AUTO && _features & GF_ADLIB_DEFAULT) || GF_SMALL_HEADER) {
_midi_driver = MD_ADLIB;
_use_adlib = true;
}