mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-03 15:18:55 +02:00
misc: chore: Use collection expressions
This commit is contained in:
@@ -250,7 +250,7 @@ namespace Ryujinx.Cpu.Jit
|
||||
{
|
||||
if (size == 0)
|
||||
{
|
||||
return Enumerable.Empty<HostMemoryRange>();
|
||||
return [];
|
||||
}
|
||||
|
||||
var guestRegions = GetPhysicalRegionsImpl(va, size);
|
||||
@@ -276,7 +276,7 @@ namespace Ryujinx.Cpu.Jit
|
||||
{
|
||||
if (size == 0)
|
||||
{
|
||||
return Enumerable.Empty<MemoryRange>();
|
||||
return [];
|
||||
}
|
||||
|
||||
return GetPhysicalRegionsImpl(va, size);
|
||||
|
||||
Reference in New Issue
Block a user