[Scummvm-cvs-logs] CVS: scummvm/simon midi.cpp,1.17,1.18

Jamieson Christian jamieson630 at users.sourceforge.net
Wed Dec 11 18:40:04 CET 2002


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv2920/scummvm/simon

Modified Files:
	midi.cpp 
Log Message:
Changed handling of malformed pitchbend events.
Added related warning output for future reference.

Index: midi.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/midi.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- midi.cpp	11 Dec 2002 16:09:55 -0000	1.17
+++ midi.cpp	12 Dec 2002 02:39:33 -0000	1.18
@@ -321,8 +321,10 @@
 		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)) {





More information about the Scummvm-git-logs mailing list