diff options
Diffstat (limited to 'engines/agi/keyboard.cpp')
-rw-r--r-- | engines/agi/keyboard.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index ea384f3418..d5ef590961 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -421,12 +421,12 @@ int AgiEngine::waitAnyKey() { return key; } -bool AgiEngine::isKeypress(void) { +bool AgiEngine::isKeypress() { processEvents(); return _keyQueueStart != _keyQueueEnd; } -int AgiEngine::getKeypress(void) { +int AgiEngine::getKeypress() { int k; while (_keyQueueStart == _keyQueueEnd) // block @@ -437,7 +437,7 @@ int AgiEngine::getKeypress(void) { return k; } -void AgiEngine::clearKeyQueue(void) { +void AgiEngine::clearKeyQueue() { while (isKeypress()) { getKeypress(); } |