mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-14 16:37:07 +00:00
misc: chore: Use collection expressions
This commit is contained in:
parent
4d5757417e
commit
e2973a875a
236 changed files with 9843 additions and 7561 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue