aboutsummaryrefslogtreecommitdiff
path: root/backends/midi/seq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/midi/seq.cpp')
-rw-r--r--backends/midi/seq.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp
index 920356147f..9c7cc83d67 100644
--- a/backends/midi/seq.cpp
+++ b/backends/midi/seq.cpp
@@ -146,11 +146,11 @@ void MidiDriver_SEQ::send(uint32 b) {
}
void MidiDriver_SEQ::sysEx (const byte *msg, uint16 length) {
- 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;