13
0

ignore system reset messages entirely in the MIDI parser

This commit is contained in:
Paul Davis 2018-07-04 15:40:47 -04:00
parent db5377da46
commit 6e79f473f4

View File

@ -346,6 +346,13 @@ Parser::scanner (unsigned char inbyte)
return;
}
/* ditto for system reset, except do even less */
if (inbyte == 0xff) {
message_counter[inbyte]++;
return;
}
/* If necessary, allocate larger message buffer. */
if (msgindex >= msglen) {
@ -793,4 +800,3 @@ Parser::set_offline (bool yn)
state = NEEDSTATUS;
}
}