diff options
author | Kirben | 2014-04-13 19:51:33 +1000 |
---|---|---|
committer | Kirben | 2014-04-13 19:51:33 +1000 |
commit | ac9182181d899d66ba6317e3e51dc781961ba239 (patch) | |
tree | ee9609583e5e753e4fc273d8d777118242d5ec89 | |
parent | 42f4bb6b1ed04499eba0a15275521bdafcdb2cd5 (diff) | |
download | scummvm-rg350-ac9182181d899d66ba6317e3e51dc781961ba239.tar.gz scummvm-rg350-ac9182181d899d66ba6317e3e51dc781961ba239.tar.bz2 scummvm-rg350-ac9182181d899d66ba6317e3e51dc781961ba239.zip |
AGOS: Fix music looping when using Roland MT-32 music in Simon the Sorcerer 2.
-rw-r--r-- | engines/agos/midi.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/agos/midi.cpp b/engines/agos/midi.cpp index c26fbe3331..392ee08ea1 100644 --- a/engines/agos/midi.cpp +++ b/engines/agos/midi.cpp @@ -235,6 +235,10 @@ void MidiPlayer::startTrack(int track) { _music.parser = parser; // That plugs the power cord into the wall } else if (_music.parser) { if (!_music.parser->setTrack(track)) { + // The Roland MT32 music in Simon the Sorcerer 2 + // is missing the extra tracks in many scenes, + // like the introduction sequence. + stop(); return; } _currentTrack = (byte)track; |