misc: chore: Use collection expressions in HLE project

This commit is contained in:
Evan Husted
2025-01-26 15:43:02 -06:00
parent 3c2f283ec7
commit 70b767ef60
72 changed files with 312 additions and 299 deletions

View File

@@ -13,14 +13,15 @@ namespace Ryujinx.HLE.HOS.Kernel.Memory
{
abstract class KPageTableBase
{
private static readonly int[] _mappingUnitSizes = {
private static readonly int[] _mappingUnitSizes =
[
0x1000,
0x10000,
0x200000,
0x400000,
0x2000000,
0x40000000,
};
0x40000000
];
private const ulong RegionAlignment = 0x200000;