From adf01ec668b646732d098dd8801cf8acefebfec4 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Thu, 6 Aug 2015 00:15:50 +0300 Subject: [PATCH] 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 --- pcsx2/gui/Panels/CpuPanel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/gui/Panels/CpuPanel.cpp b/pcsx2/gui/Panels/CpuPanel.cpp index 6ec70b9e18..13ed7d9c28 100644 --- a/pcsx2/gui/Panels/CpuPanel.cpp +++ b/pcsx2/gui/Panels/CpuPanel.cpp @@ -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();