aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-11 10:11:31 +0000
committerMartin Kiewitz2010-07-11 10:11:31 +0000
commitc77c84f5c52deb34930ed4e7f627ad672579c74c (patch)
tree36466c41e6c9f67088401973c827efdc2b1f3bd9 /engines/sci/engine
parentdf6ead5f93758aa9871594fc3872930eaf9c9d60 (diff)
downloadscummvm-rg350-c77c84f5c52deb34930ed4e7f627ad672579c74c.tar.gz
scummvm-rg350-c77c84f5c52deb34930ed4e7f627ad672579c74c.tar.bz2
scummvm-rg350-c77c84f5c52deb34930ed4e7f627ad672579c74c.zip
SCI: also sync palette after playing movies, fixes kq6 intro
svn-id: r50798
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 0e7930275a..13f2bd4875 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1192,8 +1192,10 @@ reg_t kShowMovie(EngineState *s, int argc, reg_t *argv) {
// We also won't be copying the screen to the SCI screen...
if (g_system->getScreenFormat().bytesPerPixel != 1)
initGraphics(screenWidth, screenHeight, screenWidth > 320);
- else
+ else {
g_sci->_gfxScreen->kernelSyncWithFramebuffer();
+ g_sci->_gfxPalette->kernelSyncScreenPalette();
+ }
}
if (reshowCursor)