mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
SAGA: Initialise _driverType
svn-id: r52922
This commit is contained in:
parent
d46f4a2fc0
commit
5d1e26d804
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user