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:
Travis Howell 2009-06-05 07:07:56 +00:00
parent 7edfab28d8
commit 662a305752

View File

@ -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),