mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-15 01:37:03 +00:00
Added --backend-threading arg for CommandLineState
Added the `--backend-threading` arg so that you can launch games via a shortcut with modifications to this setting.
This commit is contained in:
parent
727ac79ebc
commit
628a28290f
2 changed files with 21 additions and 0 deletions
|
|
@ -196,6 +196,16 @@ namespace Ryujinx.Ava
|
|||
}
|
||||
}
|
||||
|
||||
// Check if backend threading was overridden
|
||||
if (CommandLineState.OverrideBackendThreading is not null)
|
||||
ConfigurationState.Instance.Graphics.BackendThreading.Value = CommandLineState.OverrideBackendThreading.ToLower() switch
|
||||
{
|
||||
"auto" => BackendThreading.Auto,
|
||||
"off" => BackendThreading.Off,
|
||||
"on" => BackendThreading.On,
|
||||
_ => ConfigurationState.Instance.Graphics.BackendThreading
|
||||
};
|
||||
|
||||
// Check if docked mode was overriden.
|
||||
if (CommandLineState.OverrideDockedMode.HasValue)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue