mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Update AGI timers while waiting for a key to be pressed (e.g. when showing blocking text windows). Fixes bugs #1935909 and #1943872
svn-id: r31777
This commit is contained in:
parent
0de56ea1f9
commit
b804175684
@ -378,6 +378,10 @@ int AgiEngine::waitKey() {
|
||||
key = doPollKeyboard();
|
||||
if (key == KEY_ENTER || key == KEY_ESCAPE || key == BUTTON_LEFT)
|
||||
break;
|
||||
|
||||
_gfx->pollTimer();
|
||||
updateTimer();
|
||||
|
||||
_gfx->doUpdate();
|
||||
}
|
||||
return key;
|
||||
|
Loading…
x
Reference in New Issue
Block a user