[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.94,1.95

Jamieson Christian jamieson630 at users.sourceforge.net
Mon May 19 12:51:26 CEST 2003


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1:/tmp/cvs-serv23699/scummvm/common

Modified Files:
	gameDetector.cpp 
Log Message:
Fixed silence in older games under native MIDI drivers

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- gameDetector.cpp	18 May 2003 13:37:14 -0000	1.94
+++ gameDetector.cpp	19 May 2003 19:50:28 -0000	1.95
@@ -632,9 +632,10 @@
 
 	/* 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;
 	}





More information about the Scummvm-git-logs mailing list