diff options
author | Willem Jan Palenstijn | 2013-09-21 14:42:54 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-09-21 14:42:59 +0200 |
commit | a6d902df2827b91dc641b6f51c0a070b70a09179 (patch) | |
tree | 2ab91f3acf581013d7090fafb305dc9ab47ee523 /engines/sci/sound | |
parent | 3792af8e955bea5a07359c808361a16b15481327 (diff) | |
download | scummvm-rg350-a6d902df2827b91dc641b6f51c0a070b70a09179.tar.gz scummvm-rg350-a6d902df2827b91dc641b6f51c0a070b70a09179.tar.bz2 scummvm-rg350-a6d902df2827b91dc641b6f51c0a070b70a09179.zip |
SCI: Handle !fireEvents in processEvent
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/midiparser_sci.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index 40ae91d83d..3332edd5a6 100644 --- a/engines/sci/sound/midiparser_sci.cpp +++ b/engines/sci/sound/midiparser_sci.cpp @@ -521,8 +521,11 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { } void MidiParser_SCI::processEvent(const EventInfo &info, bool fireEvents) { - - // TODO: Properly handle fireEvents + if (!fireEvents) { + // We don't do any processing that should be done while skipping events + MidiParser::processEvent(info, fireEvents); + return; + } switch (info.command()) { case 0xC: |