mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-30 10:32:54 +00:00
Use the new C# 14 null propagation setter
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user