diff options
Diffstat (limited to 'simon/midi.cpp')
-rw-r--r-- | simon/midi.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/simon/midi.cpp b/simon/midi.cpp index b7d9b11333..dc4ac95cf8 100644 --- a/simon/midi.cpp +++ b/simon/midi.cpp @@ -161,12 +161,12 @@ void MidiPlayer::onTimer (void *data) { p->_current = &p->_music; p->_music.parser->onTimer(); } - if (p->_sfx.parser) { - p->_current = &p->_sfx; - p->_sfx.parser->onTimer(); - } - p->_current = 0; } + if (p->_sfx.parser) { + p->_current = &p->_sfx; + p->_sfx.parser->onTimer(); + } + p->_current = 0; p->_system->unlock_mutex (p->_mutex); } |