diff options
author | Jamieson Christian | 2003-05-31 22:16:25 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-05-31 22:16:25 +0000 |
commit | ef198afd7cfc096e66fd99b5bcc9efa262bc08a3 (patch) | |
tree | 7eee4588955cd4904e23387423c2251a5af60c86 /backends/midi | |
parent | 6aba98450ba79682759e25dd7fbb22a053ae987f (diff) | |
download | scummvm-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/midi')
-rw-r--r-- | backends/midi/seq.cpp | 2 |
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; |