From 39de0960ff0ecfd6b71a4add447600e565c08d44 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 2 Dec 2004 08:21:49 +0000 Subject: Fix kyra compile svn-id: r15969 --- kyra/kyra.cpp | 4 ++-- 1 file 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. -- cgit v1.2.3