From e52ca34bb4d4448ecaddda95a6241da877023e67 Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Fri, 23 May 2003 15:27:08 +0000 Subject: Fixed hanging notes when toggling SFX mode in Simon 1 svn-id: r7865 --- simon/midi.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'simon') diff --git a/simon/midi.cpp b/simon/midi.cpp index f12aa4d191..c751fb866e 100644 --- a/simon/midi.cpp +++ b/simon/midi.cpp @@ -174,6 +174,8 @@ void MidiPlayer::startTrack (int track) { void MidiPlayer::stop() { _system->lock_mutex (_mutex); + if (_parser) + _parser->jumpToTick(0); _currentTrack = 255; _system->unlock_mutex (_mutex); } -- cgit v1.2.3