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();
|
auto lock = Host::GetSettingsLock();
|
||||||
GetEditingSettingsInterface()->Save();
|
GetEditingSettingsInterface()->Save();
|
||||||
Host::RunOnCPUThread([]() { System::ApplySettings(false); });
|
Host::RunOnCPUThread([gs = IsEditingGameSettings()]() {
|
||||||
|
if (gs)
|
||||||
|
System::ReloadGameSettings(false);
|
||||||
|
else
|
||||||
|
System::ApplySettings(false);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGuiFullscreen::ResetCloseMenuIfNeeded();
|
ImGuiFullscreen::ResetCloseMenuIfNeeded();
|
||||||
|
|
Loading…
Reference in New Issue