aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/cursor.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-13 19:54:15 +0100
committerJohannes Schickel2011-02-14 17:08:33 +0100
commitbba430eebc2a0701b9cea5fd5cc57ec1da87a5c9 (patch)
treeb27f5a870e908e4a185cb1ef289e43a98f402731 /engines/sci/graphics/cursor.cpp
parent6d2c3230505765c3d4df64a0ac6d5ed4ffd8680a (diff)
downloadscummvm-rg350-bba430eebc2a0701b9cea5fd5cc57ec1da87a5c9.tar.gz
scummvm-rg350-bba430eebc2a0701b9cea5fd5cc57ec1da87a5c9.tar.bz2
scummvm-rg350-bba430eebc2a0701b9cea5fd5cc57ec1da87a5c9.zip
SCI: Adapt to setPalette/grabPalette RGBA->RGB change.
Diffstat (limited to 'engines/sci/graphics/cursor.cpp')
-rw-r--r--engines/sci/graphics/cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp
index e78d3e67cb..b085654d02 100644
--- a/engines/sci/graphics/cursor.cpp
+++ b/engines/sci/graphics/cursor.cpp
@@ -488,7 +488,7 @@ void GfxCursor::kernelSetMacCursor(GuiResourceId viewNum, int loopNum, int celNu
uint16 hotspotX = READ_BE_UINT16(data);
uint16 hotspotY = READ_BE_UINT16(data + 2);
- static const byte cursorPalette[] = { 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x00 };
+ static const byte cursorPalette[] = { 0x00, 0x00, 0x00, 0xff, 0xff, 0xff };
CursorMan.replaceCursor(cursorBitmap, 16, 16, hotspotX, hotspotY, 0);
CursorMan.replaceCursorPalette(cursorPalette, 1, 2);