mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-12 07:36:59 +00:00
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:
parent
6fd67cdcb7
commit
49cbe4b328
2 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ namespace Ryujinx.Ava.Systems.Configuration
|
|||
|
||||
Logger.EnableFileLog.Value = cff.EnableFileLog;
|
||||
Logger.EnableDebug.Value = cff.LoggingEnableDebug;
|
||||
Logger.EnableAvaloniaLog.Value = cff.LoggingEnableAvalonia;
|
||||
Logger.EnableStub.Value = cff.LoggingEnableStub;
|
||||
Logger.EnableInfo.Value = cff.LoggingEnableInfo;
|
||||
Logger.EnableWarn.Value = cff.LoggingEnableWarn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue