aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-11-06 01:41:32 +0000
committerEugene Sandulenko2004-11-06 01:41:32 +0000
commit805b21181ab7138da6960ade703b25716120fc29 (patch)
tree8a8b04662d7e25f0b6d3675452cd50fc589b5ee6 /base/gameDetector.cpp
parentab7c30e4ed59004f311fd068746d1537c9da5f50 (diff)
downloadscummvm-rg350-805b21181ab7138da6960ade703b25716120fc29.tar.gz
scummvm-rg350-805b21181ab7138da6960ade703b25716120fc29.tar.bz2
scummvm-rg350-805b21181ab7138da6960ade703b25716120fc29.zip
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
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r--base/gameDetector.cpp6
1 files changed, 3 insertions, 3 deletions
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