[Scummvm-cvs-logs] SF.net SVN: scummvm: [22817] scummvm/trunk/engines/simon/midi.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Thu Jun 1 05:24:07 CEST 2006


Revision: 22817
Author:   kirben
Date:     2006-06-01 05:23:08 -0700 (Thu, 01 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22817&view=rev

Log Message:
-----------
Update GMF header comment

Modified Paths:
--------------
    scummvm/trunk/engines/simon/midi.cpp
Modified: scummvm/trunk/engines/simon/midi.cpp
===================================================================
--- scummvm/trunk/engines/simon/midi.cpp	2006-06-01 12:18:12 UTC (rev 22816)
+++ scummvm/trunk/engines/simon/midi.cpp	2006-06-01 12:23:08 UTC (rev 22817)
@@ -401,12 +401,11 @@
 	in->read(p->data, size);
 
 	if (!memcmp(p->data, "GMF\x1", 4)) {
-		// BTW, here's what we know about the GMF header,
-		// the 7 bytes preceding the actual MIDI events.
+		// The GMF header
 		// 3 BYTES: 'GMF'
-		// 1 BYTE : Always seems to be 0x01
-		// 1 BYTE : Always seems to be 0x00
-		// 1 BYTE : Ranges from 0x02 to 0x08 (always 0x02 for SFX, though)
+		// 1 BYTE : Major version
+		// 1 BYTE : Minor version
+		// 1 BYTE : Ticks (Ranges from 2 - 8, always 2 for SFX)
 		// 1 BYTE : Loop control. 0 = no loop, 1 = loop
 		if (!sfx) {
 			// According to bug #1004919 calling setLoop() from


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list