From 3b90f69a6e30b4e815d450d4165911a78a1357b9 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 25 Aug 2008 13:52:10 +0000 Subject: Added short delay(Millis) call while waiting for text input, should reduce CPU usage a little bit. svn-id: r34149 --- engines/kyra/gui_v2.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/kyra') diff --git a/engines/kyra/gui_v2.cpp b/engines/kyra/gui_v2.cpp index e9d81f3b8a..f3013e0cb0 100644 --- a/engines/kyra/gui_v2.cpp +++ b/engines/kyra/gui_v2.cpp @@ -780,6 +780,7 @@ const char *GUI_v2::nameInputProcess(char *buffer, int x, int y, uint8 c1, uint8 } _keyPressed.reset(); + _vm->delay(10); } return buffer; -- cgit v1.2.3