[Scummvm-cvs-logs] CVS: scummvm/base gameDetector.cpp,1.86,1.87

Eugene Sandulenko sev at users.sourceforge.net
Fri Nov 5 17:46:41 CET 2004


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27409/base

Modified Files:
	gameDetector.cpp 
Log Message:
Major MT-32 emu overhaul based on KingGuppy's code.
 o added configure option
 o mi2 intro doesn't freeze anymore and has no sound glitches
 o missing instruments in many titles are fixed
 o numerous memory overwrite bugs are fixed
 o code is cleaned a lot and splitted into many smaller files
 o mt32.cpp went to backends/midi
 o synced with upstream code
 o reverberation fixed

 * don't complain about File class wrapper :)
 * all custom types are back
 * #pragmas are to do
 * maybe some indentation is wrong too

I prefer smaller commits, but this thing came in one piece.


Index: gameDetector.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/gameDetector.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- gameDetector.cpp	21 Oct 2004 22:37:31 -0000	1.86
+++ gameDetector.cpp	6 Nov 2004 01:41:30 -0000	1.87
@@ -598,9 +598,9 @@
 	// if need be, and we only have to specify a native
 	// driver.
 	case MD_ADLIB:     return NULL;
-
-	case MD_MT32:      return MidiDriver_MT32_create(g_engine->_mixer, ConfMan.get("extrapath").c_str());
-
+#ifdef USE_MT32EMU
+	case MD_MT32:      return MidiDriver_MT32_create(g_engine->_mixer);
+#endif
 	case MD_TOWNS:     return MidiDriver_YM2612_create(g_engine->_mixer);
 
 	// Right now PC Speaker and PCjr are handled





More information about the Scummvm-git-logs mailing list