- fixed event processing in XMI reader

Event pointer was moved forward twice leaving arbitrary garbage data in the stream

https://forum.zdoom.org/viewtopic.php?t=69631
This commit is contained in:
alexey.lysiuk 2020-08-22 13:01:56 +03:00
parent 271b919048
commit d821b0ef92

View file

@ -483,7 +483,6 @@ uint32_t *XMISong::SendCommand (uint32_t *events, EventSource due, uint32_t dela
{
events[2] = event | (data1<<8) | (data2<<16);
}
events += 3;
if ((event & 0x70) == (MIDI_NOTEON & 0x70))