mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 14:25:37 +00:00
Settings: Enable cheat loading by default
This commit is contained in:
parent
e17d37b8bc
commit
5a0e4f85dd
|
@ -72,7 +72,7 @@
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
app:key="Main/AutoLoadCheats"
|
app:key="Main/AutoLoadCheats"
|
||||||
app:title="@string/settings_load_patch_codes"
|
app:title="@string/settings_load_patch_codes"
|
||||||
app:defaultValue="false"
|
app:defaultValue="true"
|
||||||
app:summary="@string/settings_summary_load_patch_codes"
|
app:summary="@string/settings_summary_load_patch_codes"
|
||||||
app:iconSpaceReserved="false" />
|
app:iconSpaceReserved="false" />
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
|
|
|
@ -500,6 +500,7 @@ void HostInterface::SetDefaultSettings(SettingsInterface& si)
|
||||||
si.SetBoolValue("Main", "ConfirmPowerOff", true);
|
si.SetBoolValue("Main", "ConfirmPowerOff", true);
|
||||||
si.SetBoolValue("Main", "LoadDevicesFromSaveStates", false);
|
si.SetBoolValue("Main", "LoadDevicesFromSaveStates", false);
|
||||||
si.SetBoolValue("Main", "ApplyGameSettings", true);
|
si.SetBoolValue("Main", "ApplyGameSettings", true);
|
||||||
|
si.SetBoolValue("Main", "AutoLoadCheats", true);
|
||||||
si.SetBoolValue("Main", "DisableAllEnhancements", false);
|
si.SetBoolValue("Main", "DisableAllEnhancements", false);
|
||||||
si.SetBoolValue("Main", "RewindEnable", false);
|
si.SetBoolValue("Main", "RewindEnable", false);
|
||||||
si.SetFloatValue("Main", "RewindFrequency", 10.0f);
|
si.SetFloatValue("Main", "RewindFrequency", 10.0f);
|
||||||
|
|
|
@ -145,7 +145,7 @@ void Settings::Load(SettingsInterface& si)
|
||||||
confim_power_off = si.GetBoolValue("Main", "ConfirmPowerOff", true);
|
confim_power_off = si.GetBoolValue("Main", "ConfirmPowerOff", true);
|
||||||
load_devices_from_save_states = si.GetBoolValue("Main", "LoadDevicesFromSaveStates", false);
|
load_devices_from_save_states = si.GetBoolValue("Main", "LoadDevicesFromSaveStates", false);
|
||||||
apply_game_settings = si.GetBoolValue("Main", "ApplyGameSettings", true);
|
apply_game_settings = si.GetBoolValue("Main", "ApplyGameSettings", true);
|
||||||
auto_load_cheats = si.GetBoolValue("Main", "AutoLoadCheats", false);
|
auto_load_cheats = si.GetBoolValue("Main", "AutoLoadCheats", true);
|
||||||
disable_all_enhancements = si.GetBoolValue("Main", "DisableAllEnhancements", false);
|
disable_all_enhancements = si.GetBoolValue("Main", "DisableAllEnhancements", false);
|
||||||
rewind_enable = si.GetBoolValue("Main", "RewindEnable", false);
|
rewind_enable = si.GetBoolValue("Main", "RewindEnable", false);
|
||||||
rewind_save_frequency = si.GetFloatValue("Main", "RewindFrequency", 10.0f);
|
rewind_save_frequency = si.GetFloatValue("Main", "RewindFrequency", 10.0f);
|
||||||
|
|
|
@ -32,7 +32,7 @@ GeneralSettingsWidget::GeneralSettingsWidget(QtHostInterface* host_interface, QW
|
||||||
"LoadDevicesFromSaveStates", false);
|
"LoadDevicesFromSaveStates", false);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.applyGameSettings, "Main", "ApplyGameSettings",
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.applyGameSettings, "Main", "ApplyGameSettings",
|
||||||
true);
|
true);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.autoLoadCheats, "Main", "AutoLoadCheats", false);
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.autoLoadCheats, "Main", "AutoLoadCheats", true);
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.enableFullscreenUI, "Main", "EnableFullscreenUI",
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.enableFullscreenUI, "Main", "EnableFullscreenUI",
|
||||||
false);
|
false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue