From 7bf95c0cf02e976ad796eef3a3e9bf2f9d81950b Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Mon, 19 May 2003 19:50:28 +0000 Subject: Fixed silence in older games under native MIDI drivers svn-id: r7697 --- common/gameDetector.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common') 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; } -- cgit v1.2.3