mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-30 17:16:25 +02:00
misc: chore: Fix object creation in Horizon generators
This commit is contained in:
parent
ccef0b49eb
commit
e859bd5aa2
2 changed files with 11 additions and 11 deletions
|
@ -68,7 +68,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
|||
continue;
|
||||
}
|
||||
|
||||
CodeGenerator generator = new CodeGenerator();
|
||||
CodeGenerator generator = new();
|
||||
string className = commandInterface.ClassDeclarationSyntax.Identifier.ToString();
|
||||
|
||||
generator.AppendLine("using Ryujinx.Horizon.Common;");
|
||||
|
@ -257,7 +257,7 @@ namespace Ryujinx.Horizon.Generators.Hipc
|
|||
generator.AppendLine();
|
||||
}
|
||||
|
||||
List<OutParameter> outParameters = new List<OutParameter>();
|
||||
List<OutParameter> outParameters = new();
|
||||
|
||||
string[] args = new string[method.ParameterList.Parameters.Count];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue