diff options
author | Max Horn | 2009-12-09 18:12:51 +0000 |
---|---|---|
committer | Max Horn | 2009-12-09 18:12:51 +0000 |
commit | c8873d8492ef8ae288e870b37c1c85f3b291d62c (patch) | |
tree | e9902f85422741542ea12f21c17824eab542a5fe /engines/agos | |
parent | 84f3c98fad7d351611c879dddc86cd309b4f5281 (diff) | |
download | scummvm-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.cpp | 2 |
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); |