mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Fix cursor in GUI for bomp-cursor games (eg, sam and max)
svn-id: r3975
This commit is contained in:
parent
b7bc0edfba
commit
72663cdcf4
11
gui.cpp
11
gui.cpp
@ -825,11 +825,14 @@ void Gui::loop()
|
||||
{
|
||||
if (_active == 1) {
|
||||
_active++;
|
||||
draw(0, 200); // was 100
|
||||
_old_cursor_mode = _s->_system->show_mouse(true);
|
||||
draw(0, 200); // was 100
|
||||
_s->pauseSounds(true);
|
||||
}
|
||||
|
||||
_old_cursor_mode = _s->_system->show_mouse(true);
|
||||
_s->_cursorAnimate++;
|
||||
_s->gdi._cursorActive = 1;
|
||||
}
|
||||
_s->animateCursor();
|
||||
_s->getKeyInput(0);
|
||||
if (_s->_mouseButStat & MBS_LEFT_CLICK) {
|
||||
leftMouseClick(_s->mouse.x, _s->mouse.y);
|
||||
@ -858,7 +861,7 @@ void Gui::close()
|
||||
{
|
||||
_s->_fullRedraw = true;
|
||||
_s->_completeScreenRedraw = true;
|
||||
|
||||
_s->_cursorAnimate--;
|
||||
_s->_system->show_mouse(_old_cursor_mode);
|
||||
|
||||
_s->pauseSounds(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user