mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-18 03:45: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Just in case of rapid clicking games before it gets the chance to start.
|
||||||
|
if (System::IsValidOrInitializing())
|
||||||
|
return;
|
||||||
|
|
||||||
setInitialState(params->override_fullscreen);
|
setInitialState(params->override_fullscreen);
|
||||||
|
|
||||||
Error error;
|
Error error;
|
||||||
|
|
Loading…
Reference in a new issue