mirror of https://github.com/PCSX2/pcsx2.git
gui: EE panel: fix restore-default to also restore EE-cache
The EE/VU config panels use hardcoded values to restore defaults, and this patch does the same for the EE-cache checkbox. This fixes GH #737
This commit is contained in:
parent
39ce8835f7
commit
adf01ec668
|
@ -262,6 +262,7 @@ void Panels::CpuPanelEE::OnRestoreDefaults(wxCommandEvent &evt)
|
|||
{
|
||||
m_panel_RecEE->SetSelection( m_panel_RecEE->GetButton(1)->IsEnabled() ? 1 : 0 );
|
||||
m_panel_RecIOP->SetSelection( m_panel_RecIOP->GetButton(1)->IsEnabled() ? 1 : 0 );
|
||||
m_check_EECacheEnable->SetValue(0);
|
||||
|
||||
if( BaseAdvancedCpuOptions* opts = (BaseAdvancedCpuOptions*)FindWindowByName(L"AdvancedOptionsFPU") )
|
||||
opts->RestoreDefaults();
|
||||
|
|
Loading…
Reference in New Issue