aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/gfx.cpp
diff options
context:
space:
mode:
authorGregory Montoir2007-12-09 13:41:59 +0000
committerGregory Montoir2007-12-09 13:41:59 +0000
commita94fada0ae13b04d54684d470d5b86ab68a2df55 (patch)
tree01104370b7ad09b69bf2adaf281b25433ab60444 /engines/cine/gfx.cpp
parent65b11e7a34e1fbdd15e4cd69b13616517aefa20a (diff)
downloadscummvm-rg350-a94fada0ae13b04d54684d470d5b86ab68a2df55.tar.gz
scummvm-rg350-a94fada0ae13b04d54684d470d5b86ab68a2df55.tar.bz2
scummvm-rg350-a94fada0ae13b04d54684d470d5b86ab68a2df55.zip
- minor screen fix for OS
- added new debug channel for sound - updated 2 opcodes comments svn-id: r29790
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