Qt: Force display to render after boot

Fixes menu showing through when starting paused.
This commit is contained in:
Connor McLaughlin 2020-12-27 00:30:16 +10:00
parent cbcbb675d6
commit 29469077ee

View file

@ -359,7 +359,11 @@ void QtHostInterface::bootSystem(std::shared_ptr<const SystemBootParameters> par
} }
emit emulationStarting(); emit emulationStarting();
BootSystem(*params); if (!BootSystem(*params))
return;
// force a frame to be drawn to repaint the window
renderDisplay();
} }
void QtHostInterface::resumeSystemFromState(const QString& filename, bool boot_on_failure) void QtHostInterface::resumeSystemFromState(const QString& filename, bool boot_on_failure)