mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
SCUMM: Fix cursor palette in the HE80+ default cursor
This commit is contained in:
parent
440ff92e0c
commit
ced79d8f29
@ -254,12 +254,14 @@ void ScummEngine_v80he::setDefaultCursor() {
|
||||
}
|
||||
}
|
||||
|
||||
delete cursor;
|
||||
if (_bytesPerPixel == 1) {
|
||||
// Since white color position is not guaranteed
|
||||
// we setup our own palette if supported by backend
|
||||
CursorMan.disableCursorPalette(false);
|
||||
CursorMan.replaceCursorPalette(palette, 0xfd, cursor->getPaletteCount());
|
||||
}
|
||||
|
||||
// Since white color position is not guaranteed
|
||||
// we setup our own palette if supported by backend
|
||||
CursorMan.disableCursorPalette(false);
|
||||
CursorMan.replaceCursorPalette(palette, 0xfd, cursor->getPaletteCount() * 3);
|
||||
delete cursor;
|
||||
|
||||
updateCursor();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user