mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
Fix bug when setting up mouse cursor with inventory palette.
svn-id: r43200
This commit is contained in:
parent
2ccffb9075
commit
b63d787caa
@ -245,9 +245,11 @@ void Screen_LoK::postProcessCursor(uint8 *data, int width, int height, int pitch
|
||||
pitch -= width;
|
||||
|
||||
for (int y = 0; y < height; ++y) {
|
||||
for (int x = 0; x < width; ++x)
|
||||
for (int x = 0; x < width; ++x) {
|
||||
if (*data != _cursorColorKey)
|
||||
*data++ += 32;
|
||||
*data += 32;
|
||||
++data;
|
||||
}
|
||||
|
||||
data += pitch;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user