aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorRobert Göffringmann2003-07-12 05:57:53 +0000
committerRobert Göffringmann2003-07-12 05:57:53 +0000
commit4e406387ad28bbf15b07dcd3caa55dd02de7af44 (patch)
tree05be972d3d6e2c92e6035fa97da18aa74838d65d /sky
parentfbb0ddcc34e8e9682f4eaf6afe60fa10c4e9c76a (diff)
downloadscummvm-rg350-4e406387ad28bbf15b07dcd3caa55dd02de7af44.tar.gz
scummvm-rg350-4e406387ad28bbf15b07dcd3caa55dd02de7af44.tar.bz2
scummvm-rg350-4e406387ad28bbf15b07dcd3caa55dd02de7af44.zip
one more small fix
svn-id: r8929
Diffstat (limited to 'sky')
-rw-r--r--sky/control.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sky/control.cpp b/sky/control.cpp
index 72c5445e5e..48ebf2bb10 100644
--- a/sky/control.cpp
+++ b/sky/control.cpp
@@ -1520,13 +1520,14 @@ uint16 SkyControl::quickXRestore(uint16 slot) {
memset(_skyScreen->giveCurrent(), 0, GAME_SCREEN_WIDTH * GAME_SCREEN_HEIGHT);
_skyScreen->showScreen(_skyScreen->giveCurrent());
_skyScreen->forceRefresh();
+ _skyScreen->setPaletteEndian((uint8 *)SkyState::fetchCompact(SkyState::_systemVars.currentPalette));
} else {
memset(_screenBuf, 0, FULL_SCREEN_WIDTH * FULL_SCREEN_HEIGHT);
_system->copy_rect(_screenBuf, GAME_SCREEN_WIDTH, 0, 0, GAME_SCREEN_WIDTH, FULL_SCREEN_HEIGHT);
_system->update_screen();
_skyScreen->showScreen(_skyScreen->giveCurrent());
+ _skyScreen->setPalette(60111);
}
- _skyScreen->setPaletteEndian((uint8 *)SkyState::fetchCompact(SkyState::_systemVars.currentPalette));
_skyMouse->spriteMouse(_savedMouse, 0, 0);
_skyText->fnSetFont(_savedCharSet);