mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Fix KYRA's cursor handling by pushing a dummy cursor via CursorMan.pushCursor too. Also replace CursorMan.popAllCursors by CursorMan.popCursor to prevent the caller's cursor from being destroyed.
svn-id: r48621
This commit is contained in:
parent
29172d4844
commit
175a81ce98
@ -70,7 +70,7 @@ Screen::~Screen() {
|
||||
for (uint i = 0; i < _palettes.size(); ++i)
|
||||
delete _palettes[i];
|
||||
|
||||
CursorMan.popAllCursors();
|
||||
CursorMan.popCursor();
|
||||
}
|
||||
|
||||
bool Screen::init() {
|
||||
@ -158,6 +158,7 @@ bool Screen::init() {
|
||||
_animBlockPtr = NULL;
|
||||
_animBlockSize = 0;
|
||||
_mouseLockCount = 1;
|
||||
CursorMan.pushCursor(NULL, 0, 0, 0, 0, 0);
|
||||
CursorMan.showMouse(false);
|
||||
|
||||
_forceFullUpdate = false;
|
||||
|
Loading…
Reference in New Issue
Block a user