mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
Fix a couple race conditions.
Checks if another game is already starting to boot before starting to boot a new one, and only change video backend, and dual core if a game is actually not running.
This commit is contained in:
parent
b58753bd69
commit
e6684d17c1
3 changed files with 6 additions and 1 deletions
|
@ -888,6 +888,8 @@ void CFrame::ToggleDisplayMode(bool bFullscreen)
|
|||
// Prepare the GUI to start the game.
|
||||
void CFrame::StartGame(const std::string& filename)
|
||||
{
|
||||
if (m_bGameLoading)
|
||||
return;
|
||||
m_bGameLoading = true;
|
||||
|
||||
if (m_ToolBar)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue