Retain dsp JIT setting when switching to HLE. Fixes issue 5691.

This commit is contained in:
Rog 2012-11-09 12:08:03 -05:00
parent f1f212b51b
commit e8c0fea16e
1 changed files with 2 additions and 1 deletions

View File

@ -891,7 +891,8 @@ void CConfigMain::AudioSettingsChanged(wxCommandEvent& event)
{
case ID_DSPENGINE:
SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE = DSPEngine->GetSelection() == 0;
ac_Config.m_EnableJIT = DSPEngine->GetSelection() == 1;
if (!DSPEngine->GetSelection() == 0)
ac_Config.m_EnableJIT = DSPEngine->GetSelection() == 1;
ac_Config.Update();
break;