aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/music.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/made/music.cpp b/engines/made/music.cpp
index c8b13ba210..2e06871e13 100644
--- a/engines/made/music.cpp
+++ b/engines/made/music.cpp
@@ -38,14 +38,7 @@
namespace Made {
MusicPlayer::MusicPlayer() : _isGM(false) {
- MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
- _nativeMT32 = ((MidiDriver::getMusicType(dev) == MT_MT32) || ConfMan.getBool("native_mt32"));
- //bool adlib = (MidiDriver::getMusicType(dev) == MT_ADLIB);
-
- _driver = MidiDriver::createMidi(dev);
- assert(_driver);
- if (_nativeMT32)
- _driver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);
+ MidiPlayer::createDriver();
int ret = _driver->open();
if (ret == 0) {