[Scummvm-cvs-logs] CVS: scummvm/sound mididrv.cpp,1.52,1.53 mididrv.h,1.38,1.39

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


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

Modified Files:
	mididrv.cpp mididrv.h 
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: mididrv.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mididrv.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- mididrv.cpp	22 Oct 2004 12:11:24 -0000	1.52
+++ mididrv.cpp	6 Nov 2004 01:41:32 -0000	1.53
@@ -55,7 +55,9 @@
 	{"towns", "FM Towns", MD_TOWNS},
 	{"pcspk", "PC Speaker", MD_PCSPK},
 	{"pcjr", "IBM PCjr", MD_PCJR},
+#ifdef USE_MT32EMU
 	{"mt32", "MT-32", MD_MT32},
+#endif
 
 #if defined(__PALM_OS__)
 	{"ypa1", "Yamaha Pa1", MD_YPA1},

Index: mididrv.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/mididrv.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- mididrv.h	21 Oct 2004 22:37:37 -0000	1.38
+++ mididrv.h	6 Nov 2004 01:41:32 -0000	1.39
@@ -178,7 +178,9 @@
 extern MidiDriver *MidiDriver_ETUDE_create();
 extern MidiDriver *MidiDriver_ALSA_create();
 extern MidiDriver *MidiDriver_YM2612_create(SoundMixer *mixer);
-extern MidiDriver *MidiDriver_MT32_create(SoundMixer *mixer, const char *path);
+#ifdef USE_MT32EMU
+extern MidiDriver *MidiDriver_MT32_create(SoundMixer *mixer);
+#endif
 extern MidiDriver *MidiDriver_YamahaPa1_create();
 extern MidiDriver *MidiDriver_Zodiac_create();
 





More information about the Scummvm-git-logs mailing list