aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorJamieson Christian2003-08-16 17:05:04 +0000
committerJamieson Christian2003-08-16 17:05:04 +0000
commit61162bf359b251ea46f2ea4944383a92f528555a (patch)
tree65e655e4e31e0a9779d27c2bf8450badd77b3ed0 /scumm/resource.cpp
parenta5968af0fa6cd67c81d4e35a09c773d51496e91b (diff)
downloadscummvm-rg350-61162bf359b251ea46f2ea4944383a92f528555a.tar.gz
scummvm-rg350-61162bf359b251ea46f2ea4944383a92f528555a.tar.bz2
scummvm-rg350-61162bf359b251ea46f2ea4944383a92f528555a.zip
Semantics correction
svn-id: r9729
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 381c314127..94556afd43 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -1080,7 +1080,7 @@ int Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
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 Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
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;