From 74a5ad542b44a18751acc19e4d1229d640cc4c0f Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Fri, 25 Jan 2013 13:00:53 -0500 Subject: [PATCH] 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. --- Source/Core/DolphinWX/Src/ISOProperties.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/ISOProperties.cpp b/Source/Core/DolphinWX/Src/ISOProperties.cpp index 2083c39201..6a673b95d1 100644 --- a/Source/Core/DolphinWX/Src/ISOProperties.cpp +++ b/Source/Core/DolphinWX/Src/ISOProperties.cpp @@ -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();