diff options
-rw-r--r-- | engines/hopkins/events.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index dffe480833..c37e3677ea 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -212,6 +212,10 @@ void EventsManager::refreshEvents() { } void EventsManager::checkForNextFrameCounter() { + int32 delay = 10 - (g_system->getMillis() - _priorCounterTime); + if (delay > 0) + _vm->_system->delayMillis(delay); + // Check for whether to increment the game counter uint32 milli = g_system->getMillis(); while ((milli - _priorCounterTime) >= 10) { |