From 805b21181ab7138da6960ade703b25716120fc29 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 6 Nov 2004 01:41:32 +0000 Subject: 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. svn-id: r15715 --- sound/mididrv.cpp | 2 ++ sound/mididrv.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'sound') diff --git a/sound/mididrv.cpp b/sound/mididrv.cpp index 5c66297f59..ed37e93272 100644 --- a/sound/mididrv.cpp +++ b/sound/mididrv.cpp @@ -55,7 +55,9 @@ static const struct MidiDriverDescription midiDrivers[] = { {"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}, diff --git a/sound/mididrv.h b/sound/mididrv.h index 9300e47b3a..b6e57fe7f9 100644 --- a/sound/mididrv.h +++ b/sound/mididrv.h @@ -178,7 +178,9 @@ extern MidiDriver *MidiDriver_CORE_create(); 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(); -- cgit v1.2.3