.
This commit is contained in:
parent
edbd4c73e2
commit
07c5ab9894
@ -83,7 +83,7 @@ namespace Ryujinx.BuildValidationTasks
|
||||
if (isGitRunner && encounteredIssue)
|
||||
throw new JsonException("1 or more locales are invalid!");
|
||||
|
||||
JsonSerializerOptions jsonOptions = new JsonSerializerOptions()
|
||||
JsonSerializerOptions jsonOptions = new()
|
||||
{
|
||||
WriteIndented = true,
|
||||
NewLine = "\n",
|
||||
|
@ -419,6 +419,6 @@ namespace Ryujinx.Headless
|
||||
[Value(0, MetaName = "input", HelpText = "Input to load.", Required = true)]
|
||||
public string InputPath { get; set; }
|
||||
|
||||
public SafeDictionary<PlayerIndex, InputConfig> InheritedInputConfigs = new();
|
||||
public SafeDictionary<PlayerIndex, InputConfig> InheritedInputConfigs = [];
|
||||
}
|
||||
}
|
||||
|
@ -674,7 +674,7 @@ namespace Ryujinx.Ava.Utilities.Configuration
|
||||
if (EnableShaderTranslationDelay)
|
||||
Apply(DirtyHack.ShaderTranslationDelay, ShaderTranslationDelay);
|
||||
|
||||
return enabledHacks.ToArray();
|
||||
return [.. enabledHacks];
|
||||
|
||||
void Apply(DirtyHack hack, int value = 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user