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:
Rachel Bryk 2013-01-25 13:00:53 -05:00
parent 2cc1a97a66
commit 74a5ad542b
1 changed files with 5 additions and 1 deletions

View File

@ -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();