Ticket #2650: ro-workaround.diff
File ro-workaround.diff, 751 bytes (added by , 18 years ago) |
---|
-
engines/scumm/midiparser_ro.cpp
83 83 return; 84 84 } 85 85 86 // FIXME: What are these? They both happen at the end of the clerics's 87 // music. Ignoring them like this makes he music sound strange, but 88 // allowing them to pass through is even worse since anything less 89 // than 0x80 is an invalid event. 90 91 if (info.event == 0x08 || info.event == 0x3C) { 92 warning("Skipping unknown MIDI event %02X", info.event); 93 info.event = 0xFF; 94 info.ext.type = 0x7F; 95 info.length = 0; 96 info.ext.data = 0; 97 return; 98 } 99 86 100 if (info.event < 0x80) 87 101 return; 88 102