[Scummvm-cvs-logs] CVS: scummvm/scumm resource.cpp,1.135,1.136
Jamieson Christian
jamieson630 at users.sourceforge.net
Sat Aug 16 10:06:03 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv26559/scummvm/scumm
Modified Files:
resource.cpp
Log Message:
Semantics correction
Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- resource.cpp 16 Aug 2003 14:30:23 -0000 1.135
+++ resource.cpp 16 Aug 2003 17:05:04 -0000 1.136
@@ -1080,7 +1080,7 @@
dw = 0x7300000 / ticks;
debug(4, " ticks = %d, speed = %ld", ticks, dw);
- // Write a tempo change SysEx
+ // Write a tempo change Meta event
memcpy(ptr, "\x00\xFF\x51\x03", 4); ptr += 4;
*ptr++ = (byte)((dw >> 16) & 0xFF);
*ptr++ = (byte)((dw >> 8) & 0xFF);
@@ -1208,7 +1208,7 @@
int track_ctr = 0;
byte chunk_type = 0;
- // Write a tempo change SysEx:
+ // Write a tempo change Meta event
// 473 / 4 Hz, 480 pulses per quarternote, convert to micro seconds.
memcpy(ptr, "\x00\xFF\x51\x03", 4); ptr += 4;
dw = 1000000 * 480 * 4 / 473;
More information about the Scummvm-git-logs
mailing list