diff options
Diffstat (limited to 'simon/midi.cpp')
-rw-r--r-- | simon/midi.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/simon/midi.cpp b/simon/midi.cpp index 8ba97f40a3..8cf4248e45 100644 --- a/simon/midi.cpp +++ b/simon/midi.cpp @@ -228,10 +228,8 @@ void MidiPlayer::playSMF (File *in, int song) { // For GMF files, we're going to have to use // hardcoded size tables. - if (!memcmp (_data, "GMF\x1", 4) && size == 64000) { + if (!memcmp (_data, "GMF\x1", 4) && size == 64000) size = simon1_gmf_size [song]; - _data[size++] = 0x00; // Trailing 0 makes this match the standalone GMF files - } MidiParser *parser = MidiParser::createParser_SMF(); parser->property (MidiParser::mpMalformedPitchBends, 1); |