mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
Added short delay(Millis) call while waiting for text input, should reduce CPU usage a little bit.
svn-id: r34149
This commit is contained in:
parent
41bbdc427d
commit
3b90f69a6e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user