diff options
author | Jamieson Christian | 2003-09-30 13:18:25 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-09-30 13:18:25 +0000 |
commit | 457f888ea7c6dc7cefc7491c5fc74b057f7ef1eb (patch) | |
tree | 226f58c2b34f0b8cbbbedacc0482831977951190 /scumm | |
parent | 1771331d76b1ee0cbbb5db47e3007809aeb139af (diff) | |
download | scummvm-rg350-457f888ea7c6dc7cefc7491c5fc74b057f7ef1eb.tar.gz scummvm-rg350-457f888ea7c6dc7cefc7491c5fc74b057f7ef1eb.tar.bz2 scummvm-rg350-457f888ea7c6dc7cefc7491c5fc74b057f7ef1eb.zip |
Fixed MT-32 init not getting called
svn-id: r10501
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index dc74f91413..2d6b1fd942 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -1087,6 +1087,8 @@ uint32 IMuseInternal::property(int prop, uint32 value) { case IMuse::PROP_NATIVE_MT32: _native_mt32 = (value > 0); Instrument::nativeMT32(value > 0); + if (value > 0 && _midi_native) + initMT32(_midi_native); break; case IMuse::PROP_MULTI_MIDI: @@ -1165,9 +1167,6 @@ void IMuseInternal::initMidiDriver(MidiDriver *midi) { if (result) error("IMuse initialization - %s", MidiDriver::getErrorName(result)); - if (_native_mt32) - initMT32(midi); - // Connect to the driver's timer midi->setTimerCallback(midi, &IMuseInternal::midiTimerCallback); } |