aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Cawley2019-09-22 21:48:24 +0100
committerEugene Sandulenko2019-09-22 23:16:52 +0200
commitb868400876f06a7f304175e4be39aad46af62946 (patch)
treebaba0a2d5d8a2327e20b6d155ffc9f1017eb3b24
parentc2f6eb6bc8217fe5ceecf2eb22a4b83e3845585a (diff)
downloadscummvm-rg350-b868400876f06a7f304175e4be39aad46af62946.tar.gz
scummvm-rg350-b868400876f06a7f304175e4be39aad46af62946.tar.bz2
scummvm-rg350-b868400876f06a7f304175e4be39aad46af62946.zip
ENGINES: Disable event polling while splash screen is shown
Co-authored-by: jdgleaver <jdgleaver@users.noreply.github.com>
-rw-r--r--engines/engine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index a1df63bbc6..30cbb0be40 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -270,7 +270,6 @@ void splashScreen() {
uint time0 = g_system->getMillis();
Common::Event event;
while (time0 + 600 > g_system->getMillis()) {
- (void)g_system->getEventManager()->pollEvent(event);
g_system->delayMillis(10);
}
g_system->hideOverlay();