diff options
author | Filippos Karapetis | 2008-04-29 18:50:17 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-04-29 18:50:17 +0000 |
commit | b804175684073a4e8bb8a4dea89c15c861db93ee (patch) | |
tree | 99760a133445db71c6f76be70e6a5255ee3f0e1e /engines | |
parent | 0de56ea1f9e28a21d8252f1646fc8c4aaa25cb64 (diff) | |
download | scummvm-rg350-b804175684073a4e8bb8a4dea89c15c861db93ee.tar.gz scummvm-rg350-b804175684073a4e8bb8a4dea89c15c861db93ee.tar.bz2 scummvm-rg350-b804175684073a4e8bb8a4dea89c15c861db93ee.zip |
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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/keyboard.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index 6df7dd83ba..b8cf14d0ec 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -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; |