diff options
author | Jamieson Christian | 2003-05-19 05:40:27 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-05-19 05:40:27 +0000 |
commit | 29fb3e308f32c853155c9400bc9df7d850c9b9b2 (patch) | |
tree | 63b5cfbcb0f7571605e39f4d8ecb30766e48bc12 /simon | |
parent | e088227e3b903319f873f4de4468fdea780bbd62 (diff) | |
download | scummvm-rg350-29fb3e308f32c853155c9400bc9df7d850c9b9b2.tar.gz scummvm-rg350-29fb3e308f32c853155c9400bc9df7d850c9b9b2.tar.bz2 scummvm-rg350-29fb3e308f32c853155c9400bc9df7d850c9b9b2.zip |
Fixed music looping problem in simon1win
svn-id: r7672
Diffstat (limited to 'simon')
-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); |