mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 06:25:37 +00:00
Qt: Fix controller defaults resetting some system settings
This commit is contained in:
parent
f07a6c243d
commit
322c0c4c74
|
@ -393,12 +393,13 @@ void QtHost::SetDefaultSettings(SettingsInterface& si, bool system, bool control
|
||||||
if (system)
|
if (system)
|
||||||
{
|
{
|
||||||
System::SetDefaultSettings(si);
|
System::SetDefaultSettings(si);
|
||||||
|
CommonHost::SetDefaultSettings(si);
|
||||||
|
EmuFolders::SetDefaults();
|
||||||
EmuFolders::Save(si);
|
EmuFolders::Save(si);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (controller)
|
if (controller)
|
||||||
{
|
{
|
||||||
CommonHost::SetDefaultSettings(si);
|
|
||||||
CommonHost::SetDefaultControllerSettings(si);
|
CommonHost::SetDefaultControllerSettings(si);
|
||||||
CommonHost::SetDefaultHotkeyBindings(si);
|
CommonHost::SetDefaultHotkeyBindings(si);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue