aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJamieson Christian2003-05-31 22:16:25 +0000
committerJamieson Christian2003-05-31 22:16:25 +0000
commitef198afd7cfc096e66fd99b5bcc9efa262bc08a3 (patch)
tree7eee4588955cd4904e23387423c2251a5af60c86 /backends
parent6aba98450ba79682759e25dd7fbb22a053ae987f (diff)
downloadscummvm-rg350-ef198afd7cfc096e66fd99b5bcc9efa262bc08a3.tar.gz
scummvm-rg350-ef198afd7cfc096e66fd99b5bcc9efa262bc08a3.tar.bz2
scummvm-rg350-ef198afd7cfc096e66fd99b5bcc9efa262bc08a3.zip
Possible fix for -eseq SysEx
svn-id: r8196
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/seq.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp
index ff6196738a..b77ee579f2 100644
--- a/backends/midi/seq.cpp
+++ b/backends/midi/seq.cpp
@@ -148,7 +148,7 @@ void MidiDriver_SEQ::sysEx (byte *msg, uint16 length) {
buf[position++] = 0xFF;
buf[position++] = _device_num;
buf[position++] = 0;
- for (; length; --length) {
+ for (; length; --length, ++chr) {
buf[position++] = SEQ_MIDIPUTC;
buf[position++] = (unsigned char) *chr;
buf[position++] = _device_num;