misc: chore: Fix object creation in HLE project

This commit is contained in:
Evan Husted 2025-01-26 15:15:26 -06:00
parent f1fd5c9366
commit beab133c8d
48 changed files with 194 additions and 194 deletions

View file

@ -105,7 +105,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
KProcess process = new(_context);
using OnScopeExit _ = new OnScopeExit(process.DecrementReferenceCount);
using OnScopeExit _ = new(process.DecrementReferenceCount);
KResourceLimit resourceLimit;
@ -1425,7 +1425,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall
KCodeMemory codeMemory = new(_context);
using OnScopeExit _ = new OnScopeExit(codeMemory.DecrementReferenceCount);
using OnScopeExit _ = new(codeMemory.DecrementReferenceCount);
KProcess currentProcess = KernelStatic.GetCurrentProcess();