Possible fix for -eseq SysEx

svn-id: r8196
This commit is contained in:
Jamieson Christian 2003-05-31 22:16:25 +00:00
parent 6aba98450b
commit ef198afd7c

View file

@ -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;