aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/m4.cpp
diff options
context:
space:
mode:
authorMax Horn2009-12-09 18:12:51 +0000
committerMax Horn2009-12-09 18:12:51 +0000
commitc8873d8492ef8ae288e870b37c1c85f3b291d62c (patch)
treee9902f85422741542ea12f21c17824eab542a5fe /engines/m4/m4.cpp
parent84f3c98fad7d351611c879dddc86cd309b4f5281 (diff)
downloadscummvm-rg350-c8873d8492ef8ae288e870b37c1c85f3b291d62c.tar.gz
scummvm-rg350-c8873d8492ef8ae288e870b37c1c85f3b291d62c.tar.bz2
scummvm-rg350-c8873d8492ef8ae288e870b37c1c85f3b291d62c.zip
Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
Diffstat (limited to 'engines/m4/m4.cpp')
-rw-r--r--engines/m4/m4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp
index 094a3124c8..683aae2f46 100644
--- a/engines/m4/m4.cpp
+++ b/engines/m4/m4.cpp
@@ -150,7 +150,7 @@ Common::Error M4Engine::run() {
_screen = new M4Surface(true); // Special form for creating screen reference
- 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"));
MidiDriver *driver = MidiDriver::createMidi(midiDriver);