misc: chore: Fix object creation

This commit is contained in:
KeatonTheBot
2025-09-24 13:44:00 -05:00
parent 378dc33cca
commit 1f979e5c6f
42 changed files with 303 additions and 304 deletions
@@ -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 = [];