Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not automatically refresh the game list for games that have "Emula…
…tion issues" written in their gameini after we open/close the iso properties.

Fixes issue 5932.
  • Loading branch information
RachelBryk committed Jan 25, 2013
1 parent 2cc1a97 commit 74a5ad5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Core/DolphinWX/Src/ISOProperties.cpp
Expand Up @@ -999,7 +999,6 @@ void CISOProperties::LoadGameConfig()
if (!sTemp.empty())
{
EmuIssues->SetValue(wxString(sTemp.c_str(), *wxConvCurrent));
bRefreshList = true;
}
EmuIssues->Enable(EmuState->GetSelection() != 0);

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

0 comments on commit 74a5ad5

Please sign in to comment.