Fix custom settings invalidating global settings

This commit is contained in:
blackfa765
2026-05-25 12:12:09 -05:00
committed by KeatonTheBot
parent 8f6d22d92d
commit 472b0e2bdb
+6 -2
View File
@@ -623,6 +623,12 @@ namespace Ryujinx.Ava
_gpuCancellationTokenSource.Dispose(); _gpuCancellationTokenSource.Dispose();
DisposeGpu(); DisposeGpu();
if (CustomSettingsHelper.HasCustomSettings(CustomSettingsHelper.PathToGameSettingsJson(ApplicationId)))
{
Program.ReloadConfig();
}
AppExit?.Invoke(this, EventArgs.Empty); AppExit?.Invoke(this, EventArgs.Empty);
} }
@@ -1057,8 +1063,6 @@ namespace Ryujinx.Ava
} }
} }
MainWindowViewModel.SaveConfig();
return deviceDriver; return deviceDriver;
} }