fix endian specific color palette bugs.

svn-id: r8917
This commit is contained in:
Robert Göffringmann 2003-07-11 23:56:28 +00:00
parent fa921ad6d6
commit 24be1e1682

View File

@ -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;
}