mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
HACK not required at this point, since transparency color of 5 is still used for 16bit color HE games.
svn-id: r41193
This commit is contained in:
parent
7edfab28d8
commit
662a305752
@ -111,13 +111,7 @@ void ScummEngine_v6::setCursorTransparency(int a) {
|
||||
}
|
||||
|
||||
void ScummEngine::updateCursor() {
|
||||
//HACK Put the 16-bit mapped color, and
|
||||
//hope no other palette entry shares it
|
||||
int transColor = (_game.heversion >= 80) ? 5 : 255;
|
||||
if (_game.features & GF_16BIT_COLOR && _hePalettes)
|
||||
transColor = READ_LE_UINT16(_hePalettes + 2048 + transColor * 2);
|
||||
else
|
||||
transColor = 0;
|
||||
CursorMan.replaceCursor(_grabbedCursor, _cursor.width, _cursor.height,
|
||||
_cursor.hotspotX, _cursor.hotspotY,
|
||||
(_game.platform == Common::kPlatformNES ? _grabbedCursor[63] : transColor),
|
||||
|
Loading…
x
Reference in New Issue
Block a user