pcsx2: Apply auto gamefix/widescreen/cheat changes immediately

This commit is contained in:
Jonathan Li 2016-05-06 20:32:31 +01:00
parent f34e77f08c
commit c540840cd4
1 changed files with 5 additions and 2 deletions

View File

@ -439,18 +439,21 @@ void MainEmuFrame::Menu_EnableBackupStates_Click( wxCommandEvent& )
void MainEmuFrame::Menu_EnablePatches_Click( wxCommandEvent& ) void MainEmuFrame::Menu_EnablePatches_Click( wxCommandEvent& )
{ {
g_Conf->EmuOptions.EnablePatches = GetMenuBar()->IsChecked( MenuId_EnablePatches ); g_Conf->EmuOptions.EnablePatches = GetMenuBar()->IsChecked( MenuId_EnablePatches );
AppSaveSettings(); AppApplySettings();
AppSaveSettings();
} }
void MainEmuFrame::Menu_EnableCheats_Click( wxCommandEvent& ) void MainEmuFrame::Menu_EnableCheats_Click( wxCommandEvent& )
{ {
g_Conf->EmuOptions.EnableCheats = GetMenuBar()->IsChecked( MenuId_EnableCheats ); g_Conf->EmuOptions.EnableCheats = GetMenuBar()->IsChecked( MenuId_EnableCheats );
AppSaveSettings(); AppApplySettings();
AppSaveSettings();
} }
void MainEmuFrame::Menu_EnableWideScreenPatches_Click( wxCommandEvent& ) void MainEmuFrame::Menu_EnableWideScreenPatches_Click( wxCommandEvent& )
{ {
g_Conf->EmuOptions.EnableWideScreenPatches = GetMenuBar()->IsChecked( MenuId_EnableWideScreenPatches ); g_Conf->EmuOptions.EnableWideScreenPatches = GetMenuBar()->IsChecked( MenuId_EnableWideScreenPatches );
AppApplySettings();
AppSaveSettings(); AppSaveSettings();
} }