From c8873d8492ef8ae288e870b37c1c85f3b291d62c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 9 Dec 2009 18:12:51 +0000 Subject: Changed MidiDriver::createMidi to take a MidiDriverType instead of an int svn-id: r46316 --- engines/draci/draci.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/draci/draci.cpp') diff --git a/engines/draci/draci.cpp b/engines/draci/draci.cpp index 785da9ad6e..9ccd1b598a 100644 --- a/engines/draci/draci.cpp +++ b/engines/draci/draci.cpp @@ -119,7 +119,7 @@ int DraciEngine::init() { _dubbingArchive = new SoundArchive(dubbingPath, kDubbingFrequency); _sound = new Sound(_mixer); - int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI); + MidiDriverType midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI); bool native_mt32 = ((midiDriver == MD_MT32) || ConfMan.getBool("native_mt32")); //bool adlib = (midiDriver == MD_ADLIB); -- cgit v1.2.3