mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
SCI32: Fix Mac cursor when resource doesn't exist
Fixes Phantasmagoria cursor disappearing when viewing inventory
This commit is contained in:
parent
bf1fecaa8e
commit
8ab13e59e1
@ -34,8 +34,6 @@ void GfxMacCursor32::setMacCursorRemapList(int cursorCount, reg_t *cursors) {
|
||||
}
|
||||
|
||||
void GfxMacCursor32::setView(const GuiResourceId viewId, const int16 loopNo, const int16 celNo) {
|
||||
hide();
|
||||
|
||||
_cursorInfo.resourceId = viewId;
|
||||
_cursorInfo.loopNo = loopNo;
|
||||
_cursorInfo.celNo = celNo;
|
||||
@ -68,6 +66,8 @@ void GfxMacCursor32::setView(const GuiResourceId viewId, const int16 loopNo, con
|
||||
return;
|
||||
}
|
||||
|
||||
hide();
|
||||
|
||||
CursorMan.disableCursorPalette(false);
|
||||
CursorMan.replaceCursor(macCursor);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user