aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-18 18:39:26 +0100
committerJohannes Schickel2011-02-18 18:39:26 +0100
commit55a6e5af760aa365ecd74564a9a5ec94cbf4f873 (patch)
treed0502dff90e29dbbf50252fd7f5d7a4f08e35bde
parent4115c97883fcc50b994a6fafb097d3aff69395b6 (diff)
downloadscummvm-rg350-55a6e5af760aa365ecd74564a9a5ec94cbf4f873.tar.gz
scummvm-rg350-55a6e5af760aa365ecd74564a9a5ec94cbf4f873.tar.bz2
scummvm-rg350-55a6e5af760aa365ecd74564a9a5ec94cbf4f873.zip
AGOS: Fix mouse cursor color in Simon 1.
-rw-r--r--engines/agos/cursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/cursor.cpp b/engines/agos/cursor.cpp
index 5ff2f014a6..cf42fe1f36 100644
--- a/engines/agos/cursor.cpp
+++ b/engines/agos/cursor.cpp
@@ -781,8 +781,8 @@ void AGOSEngine_Simon1::initMouse() {
}
static const byte mouseCursorPalette[] = {
- 0x00, 0x00, 0x00, 0x00, // Black
- 0xFF, 0xFF, 0xFF, 0x00, // White
+ 0x00, 0x00, 0x00, // Black
+ 0xFF, 0xFF, 0xFF // White
};
void AGOSEngine::initMouse() {
@@ -792,7 +792,7 @@ void AGOSEngine::initMouse() {
memset(_mouseData, 0xFF, _maxCursorWidth * _maxCursorHeight);
- CursorMan.replaceCursorPalette(mouseCursorPalette, 0, ARRAYSIZE(mouseCursorPalette) / 4);
+ CursorMan.replaceCursorPalette(mouseCursorPalette, 0, ARRAYSIZE(mouseCursorPalette) / 3);
}
void AGOSEngine::drawMousePointer() {