From 2585adf4b8ce285229e7ad264f3e6b9473e131fb Mon Sep 17 00:00:00 2001 From: Vova Date: Sat, 19 Apr 2025 17:36:15 +1000 Subject: [PATCH] Fix: now it is enough to activate dirty hack in global settings for the option to appear in custom settings --- .../Systems/Configuration/ConfigurationState.Migration.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx/Systems/Configuration/ConfigurationState.Migration.cs b/src/Ryujinx/Systems/Configuration/ConfigurationState.Migration.cs index f7bc22913..5843b5963 100644 --- a/src/Ryujinx/Systems/Configuration/ConfigurationState.Migration.cs +++ b/src/Ryujinx/Systems/Configuration/ConfigurationState.Migration.cs @@ -157,8 +157,8 @@ namespace Ryujinx.Ava.Systems.Configuration Multiplayer.LdnServer.Value = cff.LdnServer; { - Hacks.ShowDirtyHacks.Value = cff.ShowDirtyHacks; - + Hacks.ShowDirtyHacks.Value = shouldLoadFromFile ? cff.ShowDirtyHacks: Hacks.ShowDirtyHacks.Value; // Get from global config only + DirtyHacks hacks = new (cff.DirtyHacks ?? []); Hacks.Xc2MenuSoftlockFix.Value = hacks.IsEnabled(DirtyHack.Xc2MenuSoftlockFix);