UI: fix "Enable UI logs" not being persisted upon relaunch

Closes ryujinx#5

(it was saved, just not loaded back)
This commit is contained in:
GreemDev 2025-10-24 18:24:23 -05:00
parent 6fd67cdcb7
commit 49cbe4b328
2 changed files with 2 additions and 4 deletions

View file

@ -221,10 +221,7 @@ namespace Ryujinx.Ava
}
// When you first load the program, copy to remember the path for the global configuration
if (GlobalConfigurationPath == null)
{
GlobalConfigurationPath = ConfigurationPath;
}
GlobalConfigurationPath ??= ConfigurationPath;
UseHardwareAcceleration = ConfigurationState.Instance.EnableHardwareAcceleration;