mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 02:39:56 +00:00
PINK: Remove direct use of OSystem cursor functions
This commit is contained in:
parent
1999d71f8d
commit
4b540a0042
@ -269,11 +269,8 @@ bool PinkEngine::loadCursors() {
|
||||
}
|
||||
|
||||
void PinkEngine::setCursor(uint cursorIndex) {
|
||||
Graphics::Cursor *cursor = _cursors[cursorIndex]->cursors[0].cursor;
|
||||
_system->setCursorPalette(cursor->getPalette(), cursor->getPaletteStartIndex(), cursor->getPaletteCount());
|
||||
_system->setMouseCursor(cursor->getSurface(), cursor->getWidth(), cursor->getHeight(),
|
||||
cursor->getHotspotX(), cursor->getHotspotY(), cursor->getKeyColor());
|
||||
_system->showMouse(true);
|
||||
CursorMan.replaceCursor(_cursors[cursorIndex]->cursors[0].cursor);
|
||||
CursorMan.showMouse(true);
|
||||
}
|
||||
|
||||
bool PinkEngine::canLoadGameStateCurrently() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user