aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-12-02 08:21:49 +0000
committerTravis Howell2004-12-02 08:21:49 +0000
commit39de0960ff0ecfd6b71a4add447600e565c08d44 (patch)
treec5500f05619cc08354da8a3915df61e1c12a80f4
parent5d5a13eec758665306cd21af058c118debc2ab66 (diff)
downloadscummvm-rg350-39de0960ff0ecfd6b71a4add447600e565c08d44.tar.gz
scummvm-rg350-39de0960ff0ecfd6b71a4add447600e565c08d44.tar.bz2
scummvm-rg350-39de0960ff0ecfd6b71a4add447600e565c08d44.zip
Fix kyra compile
svn-id: r15969
-rw-r--r--kyra/kyra.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kyra/kyra.cpp b/kyra/kyra.cpp
index 6a8bb1ad21..5d0056bd75 100644
--- a/kyra/kyra.cpp
+++ b/kyra/kyra.cpp
@@ -135,10 +135,10 @@ int KyraEngine::init(GameDetector &detector) {
_screen = new uint8[320*200];
memset(_screen, 0, sizeof(uint8) * 320 * 200);
- int midiDrv = GameDetector::detectMusicDriver(MDT_NATIVE | MDT_ADLIB | MDT_PREFER_NATIVE);
+ int midiDrv = MidiDriver::detectMusicDriver(MDT_NATIVE | MDT_ADLIB | MDT_PREFER_NATIVE);
bool native_mt32 = (ConfMan.getBool("native_mt32") || (midiDrv == MD_MT32));
- MidiDriver *driver = GameDetector::createMidi(midiDrv);
+ MidiDriver *driver = MidiDriver::createMidi(midiDrv);
if (!driver) {
// In this case we should play the Adlib tracks, but for now
// the automagic MIDI-to-Adlib conversion will do.