Qt: Don't boot system twice on rapid clicking

This commit is contained in:
Stenzek 2024-07-13 20:47:03 +10:00
parent 5da6c926d9
commit b7da118f96
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -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;