aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-09-28 04:53:38 +0000
committerTorbjörn Andersson2010-09-28 04:53:38 +0000
commit5d1e26d804dd11ec35f6c96f1ab8fe1378d8ede9 (patch)
treecfc07fd7a1f9a87b42403d0fa8b2a62070db50c1
parentd46f4a2fc0316e32a300752f5260e463118626e4 (diff)
downloadscummvm-rg350-5d1e26d804dd11ec35f6c96f1ab8fe1378d8ede9.tar.gz
scummvm-rg350-5d1e26d804dd11ec35f6c96f1ab8fe1378d8ede9.tar.bz2
scummvm-rg350-5d1e26d804dd11ec35f6c96f1ab8fe1378d8ede9.zip
SAGA: Initialise _driverType
svn-id: r52922
-rw-r--r--engines/saga/music.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/saga/music.cpp b/engines/saga/music.cpp
index eb79132495..199b0dfd8a 100644
--- a/engines/saga/music.cpp
+++ b/engines/saga/music.cpp
@@ -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);