SAGA: Initialise _driverType

svn-id: r52922
This commit is contained in:
Torbjörn Andersson 2010-09-28 04:53:38 +00:00
parent d46f4a2fc0
commit 5d1e26d804

View File

@ -49,6 +49,7 @@ MusicDriver::MusicDriver() : _isGM(false) {
MidiDriver::DeviceHandle dev = MidiDriver::detectDevice(MDT_MIDI | MDT_ADLIB | MDT_PREFER_GM);
_driver = MidiDriver::createMidi(dev);
_driverType = MidiDriver::getMusicType(dev);
if (isMT32())
_driver->property(MidiDriver::PROP_CHANNEL_MASK, 0x03FE);