Fix enable cheats checkbox.

This commit is contained in:
Rachel Bryk 2015-03-29 20:43:51 -04:00
parent 731e4a3a65
commit d4fa8de35a

View File

@ -139,7 +139,7 @@ void GeneralConfigPane::OnIdleSkipCheckBoxChanged(wxCommandEvent& event)
void GeneralConfigPane::OnCheatCheckBoxChanged(wxCommandEvent& event) void GeneralConfigPane::OnCheatCheckBoxChanged(wxCommandEvent& event)
{ {
SConfig::GetInstance().m_LocalCoreStartupParameter.bSkipIdle = m_cheats_checkbox->IsChecked(); SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableCheats = m_cheats_checkbox->IsChecked();
} }
void GeneralConfigPane::OnForceNTSCJCheckBoxChanged(wxCommandEvent& event) void GeneralConfigPane::OnForceNTSCJCheckBoxChanged(wxCommandEvent& event)