diff options
author | Jamieson Christian | 2003-06-01 03:13:08 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-06-01 03:13:08 +0000 |
commit | 11e188c52084a05a915679f5129ae2f0dea66bcc (patch) | |
tree | 0561e090fc4b2ffe58a347dc25c80f4da5059b98 /scumm | |
parent | 2ef36da81971f76a54a85bd620c7e07567cf5355 (diff) | |
download | scummvm-rg350-11e188c52084a05a915679f5129ae2f0dea66bcc.tar.gz scummvm-rg350-11e188c52084a05a915679f5129ae2f0dea66bcc.tar.bz2 scummvm-rg350-11e188c52084a05a915679f5129ae2f0dea66bcc.zip |
More MT-32 SysEx tweaks
svn-id: r8217
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/instrument.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/instrument.cpp b/scumm/instrument.cpp index dbe0d0eae0..1540461ef7 100644 --- a/scumm/instrument.cpp +++ b/scumm/instrument.cpp @@ -419,11 +419,12 @@ void Instrument_Roland::saveOrLoad (Serializer *s) { void Instrument_Roland::send (MidiChannel *mc) { if (_native_mt32) { -// _instrument.device_id = mc->getNumber(); - _instrument.device_id = 0x10; + _instrument.device_id = mc->getNumber(); +// _instrument.device_id = 0x10; // Remap instrument to appropriate address space. - int address = 0x010000 + mc->getNumber() * 246; +// int address = 0x010000 + mc->getNumber() * 246; + int address = 0x008000; _instrument.address[0] = (address >> 14) & 0x7F; _instrument.address[1] = (address >> 7) & 0x7F; _instrument.address[2] = (address ) & 0x7F; |