mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
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:
1 parent
39ce8835f7
commit
adf01ec668
1 file changed
+1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user