misc: chore: Use collection expressions in Cpu

This commit is contained in:
Evan Husted
2025-01-26 15:41:05 -06:00
parent ed2590a8ac
commit 3e12865f51
26 changed files with 934 additions and 931 deletions

View File

@@ -34,7 +34,7 @@ namespace Ryujinx.Cpu.LightningJit.Table
{
int splitIndex = (int)((insts[index].Encoding >> _shift) & _mask);
(splitList[splitIndex] ??= new()).Add(insts[index]);
(splitList[splitIndex] ??= []).Add(insts[index]);
}
for (int index = 0; index < count; index++)