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 /backends/midi/zodiac.cpp | |
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 'backends/midi/zodiac.cpp')
-rw-r--r-- | backends/midi/zodiac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/zodiac.cpp b/backends/midi/zodiac.cpp index 3ad4d88e50..1aa65139b5 100644 --- a/backends/midi/zodiac.cpp +++ b/backends/midi/zodiac.cpp @@ -35,7 +35,7 @@ public: int open(); void close(); void send(uint32 b); - void sysEx(byte *msg, uint16 length); + void sysEx(const byte *msg, uint16 length); private: TwMidiHandle _midiHandle; @@ -109,7 +109,7 @@ void MidiDriver_Zodiac::send(uint32 b) { } } -void MidiDriver_Zodiac::sysEx(byte *msg, uint16 length) { +void MidiDriver_Zodiac::sysEx(const byte *msg, uint16 length) { TwMidiSysEx(_midiHandle, 0, msg, length); } |