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 --- base/gameDetector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base') diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp index 708097d2fd..c35c32ea22 100644 --- a/base/gameDetector.cpp +++ b/base/gameDetector.cpp @@ -598,9 +598,9 @@ MidiDriver *GameDetector::createMidi(int midiDriver) { // 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 -- cgit v1.2.3