From a0d34fd294e4dbb8675c6019b49c0e85358ebce5 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sat, 6 Apr 2013 08:23:14 +0200 Subject: HOPKINS: Partially revert 63b669cfc4ec0cae7be83949f98ee3fd48607f90 as it causes a regression in ComputerManager --- engines/hopkins/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3