Added a command line option (-c, --config) to load a configuration file through the command line parameters #33

Closed
ivanmestre wants to merge 2 commits from load-configuration-file-from-command-line into master
Showing only changes of commit 95977fdc71 - Show all commits

View File

@ -164,7 +164,7 @@ namespace Ryujinx.Ava
ConfigurationPath = appDataConfigurationPath;
}
if(!string.IsNullOrEmpty(CommandLineState.OverrideConfigFile) && File.Exists(CommandLineState.OverrideConfigFile))
if (!string.IsNullOrEmpty(CommandLineState.OverrideConfigFile) && File.Exists(CommandLineState.OverrideConfigFile))
{
ConfigurationPath = CommandLineState.OverrideConfigFile;
}