aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-02-04 17:49:02 -0600
committerColin Snover2017-03-30 20:49:36 -0500
commit5723f2f5feb4dc0b51423e7d03c6fc05dc201c9e (patch)
tree3d8e3dcced31979be13fa9cf61d52ca5c3130139 /engines
parent4284488244248e610cac5178fa27c6c1f51e6c58 (diff)
downloadscummvm-rg350-5723f2f5feb4dc0b51423e7d03c6fc05dc201c9e.tar.gz
scummvm-rg350-5723f2f5feb4dc0b51423e7d03c6fc05dc201c9e.tar.bz2
scummvm-rg350-5723f2f5feb4dc0b51423e7d03c6fc05dc201c9e.zip
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.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/midiparser_sci.cpp6
1 files changed, 6 insertions, 0 deletions
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;
}