mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-21 12:45:47 +00:00
misc: chore: Fix object creation in HLE project
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user