mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-26 20:22:22 +00: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:
parent
67dee48b3e
commit
37f1e1ca73
2 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue