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