aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/chewy/graphics.cpp')
-rw-r--r--engines/chewy/graphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/chewy/graphics.cpp b/engines/chewy/graphics.cpp
index 5db2a76398..0861a344ab 100644
--- a/engines/chewy/graphics.cpp
+++ b/engines/chewy/graphics.cpp
@@ -128,7 +128,9 @@ void Graphics::playVideo(uint num) {
uint16 x = (g_system->getWidth() - cfoDecoder->getWidth()) / 2;
uint16 y = (g_system->getHeight() - cfoDecoder->getHeight()) / 2;
bool skipVideo = false;
+ byte curPalette[256 * 3];
+ g_system->getPaletteManager()->grabPalette(curPalette, 0, 256);
hideCursor();
cfoDecoder->start();
@@ -157,6 +159,7 @@ void Graphics::playVideo(uint num) {
cfoDecoder->close();
+ g_system->getPaletteManager()->setPalette(curPalette, 0, 256);
showCursor();
}