diff options
author | Jamieson Christian | 2006-02-27 01:59:07 +0000 |
---|---|---|
committer | Jamieson Christian | 2006-02-27 01:59:07 +0000 |
commit | 2469e00248423b7d0a8595d0870818c6ebfb40cf (patch) | |
tree | 3400500ba27325ba74215e27fc11a92f3b6b334c /engines/scumm/imuse/instrument.h | |
parent | 2d2258f5965e0987f61b7667ab248965e770ac93 (diff) | |
download | scummvm-rg350-2469e00248423b7d0a8595d0870818c6ebfb40cf.tar.gz scummvm-rg350-2469e00248423b7d0a8595d0870818c6ebfb40cf.tar.bz2 scummvm-rg350-2469e00248423b7d0a8595d0870818c6ebfb40cf.zip |
SysEx data now passed around with const pointers. Permits simplification of some SysEx client code.
Testing on Windows. Developers on other platforms, please verify integrity of music handling in your respective MidiDrivers.
svn-id: r20952
Diffstat (limited to 'engines/scumm/imuse/instrument.h')
-rw-r--r-- | engines/scumm/imuse/instrument.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse/instrument.h b/engines/scumm/imuse/instrument.h index eb1a30a1d1..49d8b00880 100644 --- a/engines/scumm/imuse/instrument.h +++ b/engines/scumm/imuse/instrument.h @@ -65,8 +65,8 @@ public: void copy_to (Instrument *dest) { if (_instrument) _instrument->copy_to (dest); else dest->clear(); } void program (byte program, bool mt32); - void adlib (byte *instrument); - void roland (byte *instrument); + void adlib (const byte *instrument); + void roland (const byte *instrument); byte getType() { return _type; } bool isValid() { return (_instrument ? _instrument->is_valid() : false); } |