aboutsummaryrefslogtreecommitdiff
path: root/sword1/screen.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2004-01-04 05:21:22 +0000
committerRobert Göffringmann2004-01-04 05:21:22 +0000
commitf0d0e4d4b337a9d39e384634d6ef1d1b23e329f3 (patch)
tree1116a7e40e9d8221589c7da79dab38fded10a033 /sword1/screen.cpp
parent7cc972791683c232338f01818b8ccef1fccae62d (diff)
downloadscummvm-rg350-f0d0e4d4b337a9d39e384634d6ef1d1b23e329f3.tar.gz
scummvm-rg350-f0d0e4d4b337a9d39e384634d6ef1d1b23e329f3.tar.bz2
scummvm-rg350-f0d0e4d4b337a9d39e384634d6ef1d1b23e329f3.zip
removed speed button from control panel and made the game do a full screen refresh after leaving the control panel
svn-id: r12127
Diffstat (limited to 'sword1/screen.cpp')
-rw-r--r--sword1/screen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sword1/screen.cpp b/sword1/screen.cpp
index 919e5248b9..55135c9670 100644
--- a/sword1/screen.cpp
+++ b/sword1/screen.cpp
@@ -110,7 +110,8 @@ void SwordScreen::fnSetPalette(uint8 start, uint16 length, uint32 id, bool fadeU
_system->set_palette(_targetPalette + 4 * start, start, length);
}
-void SwordScreen::refreshPalette(void) {
+void SwordScreen::fullRefresh(void) {
+ _fullRefresh = true;
_system->set_palette(_targetPalette, 0, 256);
}