diff options
author | Johannes Schickel | 2008-08-25 13:52:10 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-08-25 13:52:10 +0000 |
commit | 3b90f69a6e30b4e815d450d4165911a78a1357b9 (patch) | |
tree | 9f25da2e7f4e777b39731a39ec300fc0d519ef84 /engines | |
parent | 41bbdc427d420ad527425706fae9a26932e196ff (diff) | |
download | scummvm-rg350-3b90f69a6e30b4e815d450d4165911a78a1357b9.tar.gz scummvm-rg350-3b90f69a6e30b4e815d450d4165911a78a1357b9.tar.bz2 scummvm-rg350-3b90f69a6e30b4e815d450d4165911a78a1357b9.zip |
Added short delay(Millis) call while waiting for text input, should reduce CPU usage a little bit.
svn-id: r34149
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/gui_v2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |