diff options
author | Jamieson Christian | 2003-05-19 19:50:28 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-05-19 19:50:28 +0000 |
commit | 7bf95c0cf02e976ad796eef3a3e9bf2f9d81950b (patch) | |
tree | 2ff3ec2b921f3de9f2b22b515fbf10f893ce9825 | |
parent | 996614936a4146a62b824123fb388e0dae009b95 (diff) | |
download | scummvm-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
-rw-r--r-- | common/gameDetector.cpp | 5 |
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; } |