mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-08 09:27:14 +00:00
headless: Load global input configs by default. Added an option --disable-main-input-config
to disable this behavior.
This commit is contained in:
parent
be6919d931
commit
cd72ba0075
@ -165,10 +165,8 @@ namespace Ryujinx.Headless
|
|||||||
|
|
||||||
ReloadConfig();
|
ReloadConfig();
|
||||||
|
|
||||||
if (option.InheritConfig)
|
if (!option.DisableMainInputConfig)
|
||||||
{
|
|
||||||
option.InheritMainConfigInput(originalArgs, ConfigurationState.Instance);
|
option.InheritMainConfigInput(originalArgs, ConfigurationState.Instance);
|
||||||
}
|
|
||||||
|
|
||||||
_virtualFileSystem = VirtualFileSystem.CreateInstance();
|
_virtualFileSystem = VirtualFileSystem.CreateInstance();
|
||||||
_libHacHorizonManager = new LibHacHorizonManager();
|
_libHacHorizonManager = new LibHacHorizonManager();
|
||||||
|
@ -194,6 +194,9 @@ namespace Ryujinx.Headless
|
|||||||
[Option("use-main-config", Required = false, Default = false, HelpText = "Use the settings from what was configured via the UI.")]
|
[Option("use-main-config", Required = false, Default = false, HelpText = "Use the settings from what was configured via the UI.")]
|
||||||
public bool InheritConfig { get; set; }
|
public bool InheritConfig { get; set; }
|
||||||
|
|
||||||
|
[Option("disable-main-input-config", Required = false, Default = false, HelpText = "Do not use the input-related settings from what was configured via the UI.")]
|
||||||
|
public bool DisableMainInputConfig { get; set; }
|
||||||
|
|
||||||
[Option("root-data-dir", Required = false, HelpText = "Set the custom folder path for Ryujinx data.")]
|
[Option("root-data-dir", Required = false, HelpText = "Set the custom folder path for Ryujinx data.")]
|
||||||
public string BaseDataDir { get; set; }
|
public string BaseDataDir { get; set; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user