Changed handling of malformed pitchbend events.

Added related warning output for future reference.

svn-id: r5909
This commit is contained in:
Jamieson Christian 2002-12-12 02:39:33 +00:00
parent 8f419dcaa8
commit d577b2ece6

View File

@ -321,8 +321,10 @@ void MidiPlayer::read_next_note(Track *t, NoteRec *nr)
if ((cmd_byte & 0xF0) != 0xE0)
break;
warning ("Malformed pitch bend event skipped");
warning ("If music sounds screwed up now, submit a bug report");
track_read_byte(t);
track_read_byte(t);
// track_read_byte(t);
}
if (!(cmd_byte & 0x80)) {