Migrate to .NET 9 (#198)

This commit is contained in:
Marco Carvalho
2024-12-19 21:52:25 -03:00
committed by GitHub
parent 8db5a7e98b
commit ff6628149d
136 changed files with 278 additions and 270 deletions

View File

@ -5,7 +5,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
class KCriticalSection
{
private readonly KernelContext _context;
private readonly object _lock;
private readonly object _lock = new();
private int _recursionCount;
public object Lock => _lock;
@ -13,7 +13,6 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
public KCriticalSection(KernelContext context)
{
_context = context;
_lock = new object();
}
public void Enter()