mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
ENGINES: We must poll events in order to show the window on some platforms.
This is a regression from b86840087. The side effect of it that on Mac the splash screen in not visible at all. I hope that this does not trigger same crash, as it happens now only once.
This commit is contained in:
parent
7c919f70d4
commit
d17464e86b
@ -261,6 +261,8 @@ void splashScreen() {
|
|||||||
// Delay 0.6 secs
|
// Delay 0.6 secs
|
||||||
uint time0 = g_system->getMillis();
|
uint time0 = g_system->getMillis();
|
||||||
Common::Event event;
|
Common::Event event;
|
||||||
|
g_system->getEventManager()->pollEvent(event);
|
||||||
|
|
||||||
while (time0 + 600 > g_system->getMillis()) {
|
while (time0 + 600 > g_system->getMillis()) {
|
||||||
g_system->delayMillis(10);
|
g_system->delayMillis(10);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user