mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05:38 +00:00
FullscreenUI: Fix changing per-game settings not updating
This commit is contained in:
parent
d012f65d4f
commit
79c401740c
|
@ -614,7 +614,12 @@ void FullscreenUI::Render()
|
|||
{
|
||||
auto lock = Host::GetSettingsLock();
|
||||
GetEditingSettingsInterface()->Save();
|
||||
Host::RunOnCPUThread([]() { System::ApplySettings(false); });
|
||||
Host::RunOnCPUThread([gs = IsEditingGameSettings()]() {
|
||||
if (gs)
|
||||
System::ReloadGameSettings(false);
|
||||
else
|
||||
System::ApplySettings(false);
|
||||
});
|
||||
}
|
||||
|
||||
ImGuiFullscreen::ResetCloseMenuIfNeeded();
|
||||
|
|
Loading…
Reference in a new issue