From ac9182181d899d66ba6317e3e51dc781961ba239 Mon Sep 17 00:00:00 2001 From: Kirben Date: Sun, 13 Apr 2014 19:51:33 +1000 Subject: AGOS: Fix music looping when using Roland MT-32 music in Simon the Sorcerer 2. --- engines/agos/midi.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3