mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
don't save emustate or video hack if it is not set
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3367 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
09a295779d
commit
b701802fcf
@ -765,8 +765,16 @@ bool CISOProperties::SaveGameConfig()
|
|||||||
else
|
else
|
||||||
GameIni.Set("HLEaudio", "UseRE0Fix", UseRE0Fix->Get3StateValue());
|
GameIni.Set("HLEaudio", "UseRE0Fix", UseRE0Fix->Get3StateValue());
|
||||||
|
|
||||||
GameIni.Set("Video", "Hack", Hack->GetSelection());
|
if (EmuState->GetSelection() == -1)
|
||||||
GameIni.Set("EmuState", "EmulationStateId", EmuState->GetSelection());
|
GameIni.DeleteKey("Video", "Hack");
|
||||||
|
else
|
||||||
|
GameIni.Set("Video", "Hack", Hack->GetSelection());
|
||||||
|
|
||||||
|
if (EmuState->GetSelection() == -1)
|
||||||
|
GameIni.DeleteKey("EmuState", "EmulationStateId");
|
||||||
|
else
|
||||||
|
GameIni.Set("EmuState", "EmulationStateId", EmuState->GetSelection());
|
||||||
|
|
||||||
GameIni.Set("EmuState", "EmulationIssues", EmuIssues->GetValue());
|
GameIni.Set("EmuState", "EmulationIssues", EmuIssues->GetValue());
|
||||||
|
|
||||||
PatchList_Save();
|
PatchList_Save();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user