aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorRobert Göffringmann2003-07-11 23:56:28 +0000
committerRobert Göffringmann2003-07-11 23:56:28 +0000
commit24be1e168293a3681e06b9e6999cc6c33cbe50d6 (patch)
treef7ed07e568d553ec1ba3f84bcf8b104a70368d0b /sky
parentfa921ad6d629937bb348a6296bee68ed5e9cee0e (diff)
downloadscummvm-rg350-24be1e168293a3681e06b9e6999cc6c33cbe50d6.tar.gz
scummvm-rg350-24be1e168293a3681e06b9e6999cc6c33cbe50d6.tar.bz2
scummvm-rg350-24be1e168293a3681e06b9e6999cc6c33cbe50d6.zip
fix endian specific color palette bugs.
svn-id: r8917
Diffstat (limited to 'sky')
-rw-r--r--sky/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index 55c634193c..9258d29c18 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -2154,7 +2154,7 @@ bool SkyLogic::fnCustomJoey(uint32 id, uint32 b, uint32 c) {
}
bool SkyLogic::fnSetPalette(uint32 a, uint32 b, uint32 c) {
- _skyScreen->setPalette((uint8 *)SkyState::fetchCompact(a));
+ _skyScreen->setPaletteEndian((uint8 *)SkyState::fetchCompact(a));
SkyState::_systemVars.currentPalette = a;
return true;
}