mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-01-18 06:11:46 +00:00
- 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:
parent
271b919048
commit
d821b0ef92
1 changed files with 0 additions and 1 deletions
|
@ -483,7 +483,6 @@ uint32_t *XMISong::SendCommand (uint32_t *events, EventSource due, uint32_t dela
|
||||||
{
|
{
|
||||||
events[2] = event | (data1<<8) | (data2<<16);
|
events[2] = event | (data1<<8) | (data2<<16);
|
||||||
}
|
}
|
||||||
events += 3;
|
|
||||||
|
|
||||||
|
|
||||||
if ((event & 0x70) == (MIDI_NOTEON & 0x70))
|
if ((event & 0x70) == (MIDI_NOTEON & 0x70))
|
||||||
|
|
Loading…
Reference in a new issue