1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-31 16:36:35 -05:00

Changes to configuration (#811)

* config loading changes

- load config from either ryufs or ryujinx.exe parent folder with parent folder taking priority
- config file in repo is only copied to parent directory if built in debug mode

* AcK's requested changes

* add "Profile Debug" as a condition to copy the default config to output
This commit is contained in:
Xpl0itR
2020-02-14 19:19:13 +00:00
committed by GitHub
parent dbe3f938c7
commit a73fd9e9bd
3 changed files with 22 additions and 6 deletions

View File

@@ -1116,7 +1116,7 @@ namespace Ryujinx.Ui
public static void SaveConfig()
{
ConfigurationState.Instance.ToFileFormat().SaveConfig(System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Config.json"));
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
}
}
}