mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
SCI/newgui: old cursor uses now hardcoded white, fixes cursor color changing in lsl5
svn-id: r45251
This commit is contained in:
parent
bf4cf09eec
commit
7b8bc76453
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user