mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-23 23:00:04 +02:00
misc: chore: Fix object creation
This commit is contained in:
@@ -128,7 +128,7 @@ namespace Ryujinx.Horizon.Kernel.Generators
|
||||
{
|
||||
SyscallSyntaxReceiver syntaxReceiver = (SyscallSyntaxReceiver)context.SyntaxReceiver;
|
||||
|
||||
CodeGenerator generator = new CodeGenerator();
|
||||
CodeGenerator generator = new();
|
||||
|
||||
generator.AppendLine("using Ryujinx.Common.Logging;");
|
||||
generator.AppendLine("using Ryujinx.Cpu;");
|
||||
@@ -206,7 +206,7 @@ namespace Ryujinx.Horizon.Kernel.Generators
|
||||
string[] args = new string[method.ParameterList.Parameters.Count];
|
||||
int index = 0;
|
||||
|
||||
RegisterAllocatorA32 regAlloc = new RegisterAllocatorA32();
|
||||
RegisterAllocatorA32 regAlloc = new();
|
||||
|
||||
List<OutParameter> outParameters = [];
|
||||
List<string> logInArgs = [];
|
||||
|
||||
Reference in New Issue
Block a user