NoGUI: Set default settings if missing

This commit is contained in:
Connor McLaughlin committed 2021-02-02 01:47:27 +10:00
1 parent c54842830f
commit 1e8752759d
3 files changed
+14 -5

No files matched your search

+6
View File
@@ -742,6 +742,12 @@ void QtHostInterface::SetDefaultSettings(SettingsInterface& si)
{
CommonHostInterface::SetDefaultSettings(si);
si.SetStringValue("Hotkeys", "PowerOff", "Keyboard/Escape");
si.SetStringValue("Hotkeys", "LoadSelectedSaveState", "Keyboard/F1");
si.SetStringValue("Hotkeys", "SaveSelectedSaveState", "Keyboard/F2");
si.SetStringValue("Hotkeys", "SelectPreviousSaveStateSlot", "Keyboard/F3");
si.SetStringValue("Hotkeys", "SelectNextSaveStateSlot", "Keyboard/F4");
si.SetBoolValue("Main", "RenderToMainWindow", true);
}