aboutsummaryrefslogtreecommitdiff
path: root/scumm/instrument.cpp
diff options
context:
space:
mode:
authorJamieson Christian2002-12-18 13:53:52 +0000
committerJamieson Christian2002-12-18 13:53:52 +0000
commitd622df84d10b3ccf6950ab9f5acbdb85fa6ff2f1 (patch)
tree974a677d5685e00130cf8425157727b8d833ce5c /scumm/instrument.cpp
parenta8bbec66e7be530b58954a935551666d52c388f2 (diff)
downloadscummvm-rg350-d622df84d10b3ccf6950ab9f5acbdb85fa6ff2f1.tar.gz
scummvm-rg350-d622df84d10b3ccf6950ab9f5acbdb85fa6ff2f1.tar.bz2
scummvm-rg350-d622df84d10b3ccf6950ab9f5acbdb85fa6ff2f1.zip
Damn, I just fixed this a bit ago! *self-bonk*
svn-id: r6019
Diffstat (limited to 'scumm/instrument.cpp')
-rw-r--r--scumm/instrument.cpp1
1 files changed, 1 insertions, 0 deletions
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.