mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
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())
|
if (!sTemp.empty())
|
||||||
{
|
{
|
||||||
EmuIssues->SetValue(wxString(sTemp.c_str(), *wxConvCurrent));
|
EmuIssues->SetValue(wxString(sTemp.c_str(), *wxConvCurrent));
|
||||||
bRefreshList = true;
|
|
||||||
}
|
}
|
||||||
EmuIssues->Enable(EmuState->GetSelection() != 0);
|
EmuIssues->Enable(EmuState->GetSelection() != 0);
|
||||||
|
|
||||||
@ -1085,6 +1084,11 @@ bool CISOProperties::SaveGameConfig()
|
|||||||
GameIni.Set("Video", "PH_ZFar", PHack_Data.PHZFar);
|
GameIni.Set("Video", "PH_ZFar", PHack_Data.PHZFar);
|
||||||
|
|
||||||
GameIni.Set("EmuState", "EmulationStateId", EmuState->GetSelection());
|
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));
|
GameIni.Set("EmuState", "EmulationIssues", (const char*)EmuIssues->GetValue().mb_str(*wxConvCurrent));
|
||||||
|
|
||||||
PatchList_Save();
|
PatchList_Save();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user