[Scummvm-cvs-logs] SF.net SVN: scummvm:[34150] scummvm/branches/branch-0-12-0/engines/kyra/ gui_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Aug 25 15:54:30 CEST 2008


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

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

Modified Paths:
--------------
    scummvm/branches/branch-0-12-0/engines/kyra/gui_v2.cpp

Modified: scummvm/branches/branch-0-12-0/engines/kyra/gui_v2.cpp
===================================================================
--- scummvm/branches/branch-0-12-0/engines/kyra/gui_v2.cpp	2008-08-25 13:52:10 UTC (rev 34149)
+++ scummvm/branches/branch-0-12-0/engines/kyra/gui_v2.cpp	2008-08-25 13:54:28 UTC (rev 34150)
@@ -775,6 +775,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