aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-17 03:29:02 +0000
committerPaul Gilbert2007-12-17 03:29:02 +0000
commitfb222b0afab02c11ebbdb3b58672aa9591128bf5 (patch)
tree30a116ba332ad8f5728ea3c4b1d0b0e3dc214acd
parent08f1f2c3d3512a0c67399327550f4e03bb3dfd79 (diff)
downloadscummvm-rg350-fb222b0afab02c11ebbdb3b58672aa9591128bf5.tar.gz
scummvm-rg350-fb222b0afab02c11ebbdb3b58672aa9591128bf5.tar.bz2
scummvm-rg350-fb222b0afab02c11ebbdb3b58672aa9591128bf5.zip
Changed Credits display to avoid the brief flash as the palette changed
svn-id: r29892
-rw-r--r--engines/lure/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp
index ab725dac03..e247faccb2 100644
--- a/engines/lure/game.cpp
+++ b/engines/lure/game.cpp
@@ -864,8 +864,9 @@ void Game::doShowCredits() {
mouse.cursorOff();
Palette p(CREDITS_RESOURCE_ID - 1);
Surface *s = Surface::getScreen(CREDITS_RESOURCE_ID);
- screen.setPalette(&p);
+ screen.setPaletteEmpty();
s->copyToScreen(0, 0);
+ screen.setPalette(&p);
delete s;
events.waitForPress();