aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-19 19:58:10 +0000
committerMartin Kiewitz2009-10-19 19:58:10 +0000
commit7b8bc76453336eab50c7bcecc98e70481d86bc02 (patch)
tree656e3fd31413fd45d80cf8909a51ff48fc63b2ea
parentbf4cf09eeca19a3bf614060d9e3b71d8e210b0c4 (diff)
downloadscummvm-rg350-7b8bc76453336eab50c7bcecc98e70481d86bc02.tar.gz
scummvm-rg350-7b8bc76453336eab50c7bcecc98e70481d86bc02.tar.bz2
scummvm-rg350-7b8bc76453336eab50c7bcecc98e70481d86bc02.zip
SCI/newgui: old cursor uses now hardcoded white, fixes cursor color changing in lsl5
svn-id: r45251
-rw-r--r--engines/sci/gui/gui_cursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_cursor.cpp b/engines/sci/gui/gui_cursor.cpp
index 128190aef9..76f1eb1b02 100644
--- a/engines/sci/gui/gui_cursor.cpp
+++ b/engines/sci/gui/gui_cursor.cpp
@@ -88,7 +88,7 @@ void SciGuiCursor::setShape(GuiResourceId resourceId) {
// Now find out what colors we are supposed to use
colorMapping[0] = 0; // Black is hardcoded
- colorMapping[1] = _palette->matchColor(&_palette->_sysPalette, 255, 255, 255); // White
+ colorMapping[1] = _resMan->isVGA() ? 255 : 15; // White is also hardcoded
colorMapping[2] = SCI_CURSOR_SCI0_TRANSPARENCYCOLOR;
colorMapping[3] = _palette->matchColor(&_palette->_sysPalette, 170, 170, 170); // Grey