aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2006-06-01 12:23:08 +0000
committerTravis Howell2006-06-01 12:23:08 +0000
commit8db54e077bad6e51ef8f686b646bd176850ae821 (patch)
treefa83b310cffce420cce8274651ab718d962c8525
parent96d77f16b73925454c9204176c9e0e62839e9537 (diff)
downloadscummvm-rg350-8db54e077bad6e51ef8f686b646bd176850ae821.tar.gz
scummvm-rg350-8db54e077bad6e51ef8f686b646bd176850ae821.tar.bz2
scummvm-rg350-8db54e077bad6e51ef8f686b646bd176850ae821.zip
Update GMF header comment
svn-id: r22817
-rw-r--r--engines/simon/midi.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/simon/midi.cpp b/engines/simon/midi.cpp
index 2a051d4c87..741ef2d432 100644
--- a/engines/simon/midi.cpp
+++ b/engines/simon/midi.cpp
@@ -401,12 +401,11 @@ void MidiPlayer::loadSMF(Common::File *in, int song, bool sfx) {
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