aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp
index d8f5e91cfb..cf0a48714b 100644
--- a/sky/screen.cpp
+++ b/sky/screen.cpp
@@ -105,7 +105,7 @@ void SkyScreen::setPaletteEndian(uint8 *pal) {
uint8 endPalette[256 * 3];
for (uint16 cnt = 0; cnt < 256 * 3; cnt++)
endPalette[cnt] = pal[cnt ^ 1];
- convertPalette(endPal, _palette);
+ convertPalette(endPalette, _palette);
#else
convertPalette(pal, _palette);
#endif