aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.cpp
diff options
context:
space:
mode:
authorColin Snover2017-07-22 23:26:39 -0500
committerColin Snover2017-07-23 10:35:13 -0500
commit8d32353394ce4aa750e54becc3f2d2e375b3963d (patch)
tree8182ae174fe6cf6e8e535c839e4c8246af2dda16 /engines/sci/graphics/frameout.cpp
parent2004aecb0583cec6bad8f903199cf1ffaf728a30 (diff)
downloadscummvm-rg350-8d32353394ce4aa750e54becc3f2d2e375b3963d.tar.gz
scummvm-rg350-8d32353394ce4aa750e54becc3f2d2e375b3963d.tar.bz2
scummvm-rg350-8d32353394ce4aa750e54becc3f2d2e375b3963d.zip
SCI32: Stop throttling of kFrameOut during interactive VMD playback
Refs Trac#9974, Trac#9975.
Diffstat (limited to 'engines/sci/graphics/frameout.cpp')
-rw-r--r--engines/sci/graphics/frameout.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index b49332dcb3..4e28f80817 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -69,6 +69,7 @@ GfxFrameout::GfxFrameout(SegManager *segMan, GfxPalette32 *palette, GfxTransitio
_throttleState(0),
_remapOccurred(false),
_overdrawThreshold(0),
+ _throttleKernelFrameOut(true),
_palMorphIsOn(false),
_lastScreenUpdateTick(0) {
@@ -1136,7 +1137,9 @@ void GfxFrameout::kernelFrameOut(const bool shouldShowBits) {
frameOut(shouldShowBits);
}
- throttle();
+ if (_throttleKernelFrameOut) {
+ throttle();
+ }
}
void GfxFrameout::throttle() {