mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
Qt: Don't boot system twice on rapid clicking
This commit is contained in:
parent
5da6c926d9
commit
b7da118f96
|
@ -816,6 +816,10 @@ void EmuThread::bootSystem(std::shared_ptr<SystemBootParameters> params)
|
|||
return;
|
||||
}
|
||||
|
||||
// Just in case of rapid clicking games before it gets the chance to start.
|
||||
if (System::IsValidOrInitializing())
|
||||
return;
|
||||
|
||||
setInitialState(params->override_fullscreen);
|
||||
|
||||
Error error;
|
||||
|
|
Loading…
Reference in a new issue