mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +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
|
@ -882,6 +882,8 @@ void CConfigMain::CoreSettingsChanged(wxCommandEvent& event)
|
|||
{
|
||||
// Core - Basic
|
||||
case ID_CPUTHREAD:
|
||||
if (Core::GetState() != Core::CORE_UNINITIALIZED)
|
||||
return;
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread = CPUThread->IsChecked();
|
||||
break;
|
||||
case ID_IDLESKIP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue