aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
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/agos
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/agos')
-rw-r--r--engines/agos/agos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 4f4c6fc0a2..2ebc0e0206 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -552,7 +552,7 @@ Common::Error AGOSEngine::init() {
(getPlatform() == Common::kPlatformPC)) {
// Setup midi driver
- int midiDriver = MidiDriver::detectMusicDriver(MDT_ADLIB | MDT_MIDI);
+ MidiDriverType midiDriver = MidiDriver::detectMusicDriver(MDT_ADLIB | MDT_MIDI);
_nativeMT32 = ((midiDriver == MD_MT32) || ConfMan.getBool("native_mt32"));
_driver = MidiDriver::createMidi(midiDriver);