mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-01 10:17:58 +02:00
misc: chore: Use collection expressions
This commit is contained in:
@@ -106,7 +106,7 @@ namespace Ryujinx.Memory
|
||||
{
|
||||
if (size == 0)
|
||||
{
|
||||
return Enumerable.Empty<HostMemoryRange>();
|
||||
return [];
|
||||
}
|
||||
|
||||
return GetHostRegionsImpl(va, size);
|
||||
@@ -117,7 +117,7 @@ namespace Ryujinx.Memory
|
||||
{
|
||||
if (size == 0)
|
||||
{
|
||||
return Enumerable.Empty<MemoryRange>();
|
||||
return [];
|
||||
}
|
||||
|
||||
var hostRegions = GetHostRegionsImpl(va, size);
|
||||
|
||||
Reference in New Issue
Block a user