[Scummvm-cvs-logs] CVS: scummvm/common gameDetector.cpp,1.91,1.92

Jamieson Christian jamieson630 at users.sourceforge.net
Fri May 16 15:01:07 CEST 2003


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

Modified Files:
	gameDetector.cpp 
Log Message:
Feature [557411] Adlib sound effects with GM drivers.
Support for simultaneous drivers is based on a
#define in imuse.cpp, and is disabled by default.

Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/gameDetector.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- gameDetector.cpp	16 May 2003 08:05:06 -0000	1.91
+++ gameDetector.cpp	16 May 2003 22:00:32 -0000	1.92
@@ -689,7 +689,11 @@
 	switch(drv) {
 	case MD_NULL:		return MidiDriver_NULL_create();
 #ifndef __PALM_OS__
-	case MD_ADLIB:		_use_adlib = true; return MidiDriver_ADLIB_create();
+	// In the case of Adlib, we won't specify anything.
+	// IMuse is designed to set up its own Adlib driver
+	// if need be, and we only have to specify a native
+	// driver.
+	case MD_ADLIB:		_use_adlib = true; return NULL;
 #else
 	case MD_YPA1:		return MidiDriver_YamahaPa1_create();
 #endif





More information about the Scummvm-git-logs mailing list