diff options
Diffstat (limited to 'engines/agi/keyboard.cpp')
-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; |