mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-28 02:42:23 -05:00
misc: chore: Use collection expressions in Gpu project
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Ryujinx.Graphics.Gpu.Synchronization
|
||||
public Syncpoint(uint id)
|
||||
{
|
||||
Id = id;
|
||||
_waiters = new List<SyncpointWaiterHandle>();
|
||||
_waiters = [];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -92,7 +92,7 @@ namespace Ryujinx.Graphics.Gpu.Synchronization
|
||||
}
|
||||
else
|
||||
{
|
||||
expiredList ??= new List<SyncpointWaiterHandle>();
|
||||
expiredList ??= [];
|
||||
|
||||
expiredList.Add(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user