aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/gfx.cpp')
-rw-r--r--engines/cine/gfx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp
index a7281e8591..a225436fb8 100644
--- a/engines/cine/gfx.cpp
+++ b/engines/cine/gfx.cpp
@@ -474,6 +474,10 @@ void blitRawScreen(byte *frontBuffer) {
void flip(void) {
blitRawScreen(page1Raw);
+ if (fadeRequired) {
+ memcpy(c_palette, tempPalette, sizeof(uint16) * 16);
+ fadeRequired = false;
+ }
}
} // End of namespace Cine