Do not automatically refresh the game list for games that have "Emulation issues" written in their gameini after we open/close the iso properties.
Fixes issue 5932.
This commit is contained in:
parent
2cc1a97a66
commit
74a5ad542b
|
@ -999,7 +999,6 @@ void CISOProperties::LoadGameConfig()
|
|||
if (!sTemp.empty())
|
||||
{
|
||||
EmuIssues->SetValue(wxString(sTemp.c_str(), *wxConvCurrent));
|
||||
bRefreshList = true;
|
||||
}
|
||||
EmuIssues->Enable(EmuState->GetSelection() != 0);
|
||||
|
||||
|
@ -1085,6 +1084,11 @@ bool CISOProperties::SaveGameConfig()
|
|||
GameIni.Set("Video", "PH_ZFar", PHack_Data.PHZFar);
|
||||
|
||||
GameIni.Set("EmuState", "EmulationStateId", EmuState->GetSelection());
|
||||
|
||||
std::string sTemp;
|
||||
GameIni.Get("EmuState","EmulationIssues", &sTemp);
|
||||
if (EmuIssues->GetValue() != sTemp)
|
||||
bRefreshList = true;
|
||||
GameIni.Set("EmuState", "EmulationIssues", (const char*)EmuIssues->GetValue().mb_str(*wxConvCurrent));
|
||||
|
||||
PatchList_Save();
|
||||
|
|
Loading…
Reference in New Issue