mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Made the Lure engine call updateScreen() more often - particularly when using
the menu bar at the top of the window - for smoother mouse movement. (After a discussion with sev.) svn-id: r21992
This commit is contained in:
parent
c17350958d
commit
72906f2508
@ -172,6 +172,7 @@ void Game::execute() {
|
||||
playerChangeRoom();
|
||||
}
|
||||
|
||||
system.updateScreen();
|
||||
system.delayMillis(10);
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,6 @@ uint8 Menu::execute() {
|
||||
mouse.setCursorNum(CURSOR_ARROW);
|
||||
system.copyRectToScreen(_menu->data(), FULL_SCREEN_WIDTH, 0, 0,
|
||||
FULL_SCREEN_WIDTH, MENUBAR_Y_SIZE);
|
||||
system.updateScreen();
|
||||
|
||||
_selectedMenu = NULL;
|
||||
_surfaceMenu = NULL;
|
||||
@ -143,7 +142,6 @@ uint8 Menu::execute() {
|
||||
|
||||
system.copyRectToScreen(_menu->data(), FULL_SCREEN_WIDTH, 0, 0,
|
||||
FULL_SCREEN_WIDTH, MENUBAR_Y_SIZE);
|
||||
system.updateScreen();
|
||||
}
|
||||
}
|
||||
|
||||
@ -156,6 +154,7 @@ uint8 Menu::execute() {
|
||||
}
|
||||
}
|
||||
|
||||
system.updateScreen();
|
||||
system.delayMillis(10);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user