aboutsummaryrefslogtreecommitdiff
path: root/sword1/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword1/screen.cpp')
-rw-r--r--sword1/screen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sword1/screen.cpp b/sword1/screen.cpp
index 98ca039985..f33437df9d 100644
--- a/sword1/screen.cpp
+++ b/sword1/screen.cpp
@@ -109,6 +109,10 @@ void SwordScreen::fnSetPalette(uint8 start, uint16 length, uint32 id, bool fadeU
_system->set_palette(_targetPalette, start, length);
}
+void SwordScreen::refreshPalette(void) {
+ _system->set_palette(_targetPalette, 0, 256);
+}
+
bool SwordScreen::stillFading(void) {
return !_isBlack;
}