[Scummvm-cvs-logs] SF.net SVN: scummvm:[34149] scummvm/trunk/engines/kyra/gui_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Aug 25 15:52:12 CEST 2008


Revision: 34149
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34149&view=rev
Author:   lordhoto
Date:     2008-08-25 13:52:10 +0000 (Mon, 25 Aug 2008)

Log Message:
-----------
Added short delay(Millis) call while waiting for text input, should reduce CPU usage a little bit.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_v2.cpp

Modified: scummvm/trunk/engines/kyra/gui_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_v2.cpp	2008-08-25 13:43:47 UTC (rev 34148)
+++ scummvm/trunk/engines/kyra/gui_v2.cpp	2008-08-25 13:52:10 UTC (rev 34149)
@@ -780,6 +780,7 @@
 		}
 
 		_keyPressed.reset();
+		_vm->delay(10);
 	}
 
 	return buffer;


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