mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
Qt: Force display to render after boot
Fixes menu showing through when starting paused.
This commit is contained in:
parent
cbcbb675d6
commit
29469077ee
|
@ -359,7 +359,11 @@ void QtHostInterface::bootSystem(std::shared_ptr<const SystemBootParameters> par
|
|||
}
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue