mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
ENGINES: Disable event polling while splash screen is shown
Co-authored-by: jdgleaver <jdgleaver@users.noreply.github.com>
This commit is contained in:
committed by
Eugene Sandulenko
co-authored by
jdgleaver
parent
c2f6eb6bc8
commit
b868400876
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user