aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/events.cpp')
-rw-r--r--engines/mads/events.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/mads/events.cpp b/engines/mads/events.cpp
index c3e6d5c122..41c8255ce8 100644
--- a/engines/mads/events.cpp
+++ b/engines/mads/events.cpp
@@ -191,7 +191,7 @@ void EventsManager::pollEvents() {
}
}
-void EventsManager::checkForNextFrameCounter() {
+bool EventsManager::checkForNextFrameCounter() {
// Check for next game frame
uint32 milli = g_system->getMillis();
if ((milli - _priorFrameTime) >= GAME_FRAME_TIME) {
@@ -209,7 +209,11 @@ void EventsManager::checkForNextFrameCounter() {
// Signal the ScummVM debugger
_vm->_debugger->onFrame();
+
+ return true;
}
+
+ return false;
}
void EventsManager::delay(int cycles) {