From 5723f2f5feb4dc0b51423e7d03c6fc05dc201c9e Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sat, 4 Feb 2017 17:49:02 -0600 Subject: SCI32: Hack around MIDI parser causing stuck harp animation in KQ7 The eventual proper fix for this is to change the current MIDI parser to work the same as in SSCI, but for now this workaround allows the game to continue. Fixes Trac#9696. --- engines/sci/sound/midiparser_sci.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/sci') diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp index 20688ca351..ea1ef740eb 100644 --- a/engines/sci/sound/midiparser_sci.cpp +++ b/engines/sci/sound/midiparser_sci.cpp @@ -653,6 +653,12 @@ bool MidiParser_SCI::processEvent(const EventInfo &info, bool fireEvents) { if (g_sci->getEngineState()->currentRoomNumber() == 530) skipSignal = false; break; +#ifdef ENABLE_SCI32 + case GID_KQ7: + if (g_sci->getEngineState()->currentRoomNumber() == 6050) { + skipSignal = false; + } +#endif default: break; } -- cgit v1.2.3