diff options
-rw-r--r-- | scumm/imuse.cpp | 1 | ||||
-rw-r--r-- | scumm/instrument.cpp | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index cb14d293ba..f387bf3a9f 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -2134,7 +2134,6 @@ void Player::parse_sysex(byte *p, uint len) // Roland custom instrument definition. part = get_part (p[0] & 0x0F); if (part) { - p[0] = part->_mc->getNumber(); part->_instrument.roland (p - 1); part->changed (IMuseDriver::pcProgram); } diff --git a/scumm/instrument.cpp b/scumm/instrument.cpp index 4d0270a0a7..e2b47dcef4 100644 --- a/scumm/instrument.cpp +++ b/scumm/instrument.cpp @@ -415,6 +415,7 @@ void Instrument_Roland::saveOrLoad (Serializer *s) void Instrument_Roland::send (MidiChannel *mc) { if (NATIVE_MT32) { // if (mc->device()->mt32device()) { + _instrument.device_id = mc->getNumber(); mc->device()->sysEx ((byte *) &_instrument, sizeof (_instrument)); } else { // Convert to a GM program change. |