Skip to content

Commit

Permalink
- fixed event processing in XMI reader
Browse files Browse the repository at this point in the history
Event pointer was moved forward twice leaving arbitrary garbage data in the stream

https://forum.zdoom.org/viewtopic.php?t=69631
  • Loading branch information
alexey-lysiuk committed Aug 22, 2020
1 parent 271b919 commit d821b0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/midisources/midisource_xmi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit d821b0e

Please sign in to comment.