Use the new C# 14 null propagation setter

This commit is contained in:
GreemDev
2025-11-19 20:09:08 -06:00
committed by KeatonTheBot
parent b7c13715f1
commit e349ef72fb
13 changed files with 33 additions and 123 deletions
@@ -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);