Use the new C# 14 null propagation setter

This commit is contained in:
GreemDev
2025-11-16 19:02:03 -06:00
parent 456db46065
commit 09748b140a
13 changed files with 33 additions and 123 deletions

View File

@@ -84,10 +84,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
for (int i = 0; i < count; i++)
{
ICounterEvent evt = _items[index + i].Event;
if (evt != null)
{
evt.Invalid = true;
}
evt?.Invalid = true;
}
_items.RemoveRange(index, count);