aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hopkins/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp
index 2fd0054874..2a0137deac 100644
--- a/engines/hopkins/events.cpp
+++ b/engines/hopkins/events.cpp
@@ -420,11 +420,11 @@ void EventsManager::refreshScreenAndEvents() {
bool externalLoopFl = false;
do {
while (!_vm->shouldQuit()) {
- pollEvents();
+ checkForNextFrameCounter();
bool innerLoopFl = false;
while (!_vm->shouldQuit() && (_breakoutFl || _vm->_globals->_eventMode != EVENTMODE_IGNORE)) {
- pollEvents();
+ checkForNextFrameCounter();
if (!_breakoutFl) {
innerLoopFl = true;