mirror of https://github.com/PCSX2/pcsx2.git
Config: Fix saving/loading EnableGameFixes in Core
This commit is contained in:
parent
462b304bea
commit
44081671ac
|
@ -42,7 +42,7 @@ AdvancedSystemSettingsWidget::AdvancedSystemSettingsWidget(SettingsDialog* dialo
|
||||||
|
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.iopRecompiler, "EmuCore/CPU/Recompiler", "EnableIOP", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.iopRecompiler, "EmuCore/CPU/Recompiler", "EnableIOP", true);
|
||||||
|
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.gameFixes, "", "EnableGameFixes", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.gameFixes, "EmuCore", "EnableGameFixes", true);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.patches, "EmuCore", "EnablePatches", true);
|
SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.patches, "EmuCore", "EnablePatches", true);
|
||||||
|
|
||||||
SettingWidgetBinder::BindWidgetToFloatSetting(sif, m_ui.ntscFrameRate, "EmuCore/GS", "FramerateNTSC", 59.94f);
|
SettingWidgetBinder::BindWidgetToFloatSetting(sif, m_ui.ntscFrameRate, "EmuCore/GS", "FramerateNTSC", 59.94f);
|
||||||
|
|
|
@ -932,6 +932,9 @@ struct Pcsx2Config
|
||||||
EnableWideScreenPatches : 1,
|
EnableWideScreenPatches : 1,
|
||||||
#ifndef DISABLE_RECORDING
|
#ifndef DISABLE_RECORDING
|
||||||
EnableRecordingTools : 1,
|
EnableRecordingTools : 1,
|
||||||
|
#endif
|
||||||
|
#ifdef PCSX2_CORE
|
||||||
|
EnableGameFixes : 1, // enables automatic game fixes
|
||||||
#endif
|
#endif
|
||||||
// when enabled uses BOOT2 injection, skipping sony bios splashes
|
// when enabled uses BOOT2 injection, skipping sony bios splashes
|
||||||
UseBOOT2Injection : 1,
|
UseBOOT2Injection : 1,
|
||||||
|
|
|
@ -1017,6 +1017,9 @@ Pcsx2Config::Pcsx2Config()
|
||||||
McdEnableEjection = true;
|
McdEnableEjection = true;
|
||||||
McdFolderAutoManage = true;
|
McdFolderAutoManage = true;
|
||||||
EnablePatches = true;
|
EnablePatches = true;
|
||||||
|
#ifdef PCSX2_CORE
|
||||||
|
EnableGameFixes = true;
|
||||||
|
#endif
|
||||||
BackupSavestate = true;
|
BackupSavestate = true;
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
@ -1049,6 +1052,9 @@ void Pcsx2Config::LoadSave(SettingsWrapper& wrap)
|
||||||
SettingsWrapBitBool(EnableWideScreenPatches);
|
SettingsWrapBitBool(EnableWideScreenPatches);
|
||||||
#ifndef DISABLE_RECORDING
|
#ifndef DISABLE_RECORDING
|
||||||
SettingsWrapBitBool(EnableRecordingTools);
|
SettingsWrapBitBool(EnableRecordingTools);
|
||||||
|
#endif
|
||||||
|
#ifdef PCSX2_CORE
|
||||||
|
SettingsWrapBitBool(EnableGameFixes);
|
||||||
#endif
|
#endif
|
||||||
SettingsWrapBitBool(ConsoleToStdio);
|
SettingsWrapBitBool(ConsoleToStdio);
|
||||||
SettingsWrapBitBool(HostFs);
|
SettingsWrapBitBool(HostFs);
|
||||||
|
|
Loading…
Reference in New Issue