[Scummvm-cvs-logs] SF.net SVN: scummvm: [31777] scummvm/trunk/engines/agi/keyboard.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Tue Apr 29 20:50:17 CEST 2008
Revision: 31777
http://scummvm.svn.sourceforge.net/scummvm/?rev=31777&view=rev
Author: thebluegr
Date: 2008-04-29 11:50:17 -0700 (Tue, 29 Apr 2008)
Log Message:
-----------
Update AGI timers while waiting for a key to be pressed (e.g. when showing blocking text windows). Fixes bugs #1935909 and #1943872
Modified Paths:
--------------
scummvm/trunk/engines/agi/keyboard.cpp
Modified: scummvm/trunk/engines/agi/keyboard.cpp
===================================================================
--- scummvm/trunk/engines/agi/keyboard.cpp 2008-04-29 16:24:54 UTC (rev 31776)
+++ scummvm/trunk/engines/agi/keyboard.cpp 2008-04-29 18:50:17 UTC (rev 31777)
@@ -378,6 +378,10 @@
key = doPollKeyboard();
if (key == KEY_ENTER || key == KEY_ESCAPE || key == BUTTON_LEFT)
break;
+
+ _gfx->pollTimer();
+ updateTimer();
+
_gfx->doUpdate();
}
return key;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list