diff options
author | Jerome Fisher | 2005-02-15 17:56:32 +0000 |
---|---|---|
committer | Jerome Fisher | 2005-02-15 17:56:32 +0000 |
commit | e78de67c54c3afd8561e9b3f28a82d6e660614d5 (patch) | |
tree | 27931065aca34c0e86e5a75bc75a7b4b2e934d79 | |
parent | d1f6a405830b5f55e6573637e13b6e50aa8ecfc7 (diff) | |
download | scummvm-rg350-e78de67c54c3afd8561e9b3f28a82d6e660614d5.tar.gz scummvm-rg350-e78de67c54c3afd8561e9b3f28a82d6e660614d5.tar.bz2 scummvm-rg350-e78de67c54c3afd8561e9b3f28a82d6e660614d5.zip |
- Fixed what I understand to be a check to ensure that sysex instrument data wasn't sent to the rhythm channel. It was preventing instruments from being written to part 8.
This fixes the window crashing sound in the intro of the floppy version of Indy 4, and possibly other things. Hopefully it breaks nothing.
svn-id: r16798
-rw-r--r-- | scumm/instrument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/instrument.cpp b/scumm/instrument.cpp index 6d95bee797..f45da061b8 100644 --- a/scumm/instrument.cpp +++ b/scumm/instrument.cpp @@ -433,7 +433,7 @@ void Instrument_Roland::saveOrLoad (Serializer *s) { void Instrument_Roland::send (MidiChannel *mc) { if (_native_mt32) { - if (mc->getNumber() > 7) + if (mc->getNumber() > 8) return; _instrument.device_id = mc->getNumber(); |