[Scummvm-git-logs] scummvm master -> 6c03f5f93fdb64617e870771246785e130fe27e0
dreammaster
noreply at scummvm.org
Fri Aug 14 12:11:47 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
6c03f5f93f MADS: Add a delayMillis to core event poller to avoid throttling
Commit: 6c03f5f93fdb64617e870771246785e130fe27e0
https://github.com/scummvm/scummvm/commit/6c03f5f93fdb64617e870771246785e130fe27e0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-08-14T22:11:07+10:00
Commit Message:
MADS: Add a delayMillis to core event poller to avoid throttling
Changed paths:
engines/mads/mads.cpp
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp
index 6ec7baf5fb2..43f73447174 100644
--- a/engines/mads/mads.cpp
+++ b/engines/mads/mads.cpp
@@ -253,6 +253,9 @@ void MADSEngine::pollEvents() {
// Handle calling any set timer function
checkForTimerFunction();
+ // Slight delay to prevent throttling
+ g_system->delayMillis(5);
+
// Poll for events
Common::Event e;
while (g_system->getEventManager()->pollEvent(e)) {
More information about the Scummvm-git-logs
mailing list