aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorJamieson Christian2003-05-23 15:27:08 +0000
committerJamieson Christian2003-05-23 15:27:08 +0000
commite52ca34bb4d4448ecaddda95a6241da877023e67 (patch)
tree7dd730038f78d477efcdf2c7ee4a18fc5aa88b92 /simon
parent790b2e1e9a9b4b63fcf63b19428661d08fddd998 (diff)
downloadscummvm-rg350-e52ca34bb4d4448ecaddda95a6241da877023e67.tar.gz
scummvm-rg350-e52ca34bb4d4448ecaddda95a6241da877023e67.tar.bz2
scummvm-rg350-e52ca34bb4d4448ecaddda95a6241da877023e67.zip
Fixed hanging notes when toggling SFX mode in Simon 1
svn-id: r7865
Diffstat (limited to 'simon')
-rw-r--r--simon/midi.cpp2
1 files changed, 2 insertions, 0 deletions
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);
}