Fix: now it is enough to activate dirty hack in global settings for the option to appear in custom settings

This commit is contained in:
Vova 2025-04-19 17:36:15 +10:00
parent 244c0505d9
commit 2585adf4b8

View file

@ -157,7 +157,7 @@ namespace Ryujinx.Ava.Systems.Configuration
Multiplayer.LdnServer.Value = cff.LdnServer; 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 ?? []); DirtyHacks hacks = new (cff.DirtyHacks ?? []);