diff options
Diffstat (limited to 'backends/midi/timidity.cpp')
-rw-r--r-- | backends/midi/timidity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index d13fc4b79a..47ef0f2ea9 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -487,11 +487,11 @@ void MidiDriver_TIMIDITY::send(uint32 b) { void MidiDriver_TIMIDITY::sysEx(const byte *msg, uint16 length) { fprintf(stderr, "Timidity::sysEx\n"); - unsigned char buf[1024]; + unsigned char buf[1330]; int position = 0; const byte *chr = msg; - assert(length + 2 <= 256); + assert(length + 2 <= 266); buf[position++] = SEQ_MIDIPUTC; buf[position++] = 0xF0; |