mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-10-02 21:25:51 -05:00
Added a command line option (-c, --config) to load a configuration file through the command line parameters (#59)
This commit is contained in:
@@ -150,6 +150,11 @@ namespace Ryujinx.Ava
|
||||
ConfigurationPath = appDataConfigurationPath;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(CommandLineState.OverrideConfigFile) && File.Exists(CommandLineState.OverrideConfigFile))
|
||||
{
|
||||
ConfigurationPath = CommandLineState.OverrideConfigFile;
|
||||
}
|
||||
|
||||
if (ConfigurationPath == null)
|
||||
{
|
||||
// No configuration, we load the default values and save it to disk
|
||||
|
Reference in New Issue
Block a user