mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
fix changing between interpreter and JIT not taking place instantly. Fix loading config needlessly twice on app init. Fixes issue 1682
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4604 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -675,9 +675,11 @@ void CConfigMain::CoreSettingsChanged(wxCommandEvent& event)
|
||||
break;
|
||||
case ID_RADIOJIT:
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bUseJIT = true;
|
||||
if (main_frame->g_pCodeWindow) main_frame->g_pCodeWindow->GetMenuBar()->Check(IDM_INTERPRETER, false);
|
||||
break;
|
||||
case ID_RADIOINT:
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bUseJIT = false;
|
||||
if (main_frame->g_pCodeWindow) main_frame->g_pCodeWindow->GetMenuBar()->Check(IDM_INTERPRETER, true);
|
||||
break;
|
||||
case ID_CPUTHREAD:
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread = CPUThread->IsChecked();
|
||||
|
Reference in New Issue
Block a user