diff options
Diffstat (limited to 'engines/hopkins/events.cpp')
-rw-r--r-- | engines/hopkins/events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index d13f545eb5..950ccc724d 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -334,12 +334,12 @@ int EventsManager::waitKeyPress() { else if (_keyState[(byte)' ']) foundChar = ' '; - VBL(); + refreshScreenAndEvents(); } // Wait for keypress release while (_keyState[(byte)foundChar] && !_vm->shouldQuit()) { - VBL(); + refreshScreenAndEvents(); g_system->delayMillis(10); } @@ -347,7 +347,7 @@ int EventsManager::waitKeyPress() { return foundChar; } -void EventsManager::VBL() { +void EventsManager::refreshScreenAndEvents() { int bottom = 0; int right = 0; int height = 0; |