misc: chore: Use collection expressions

This commit is contained in:
KeatonTheBot 2025-03-06 20:46:29 -06:00
parent 4d5757417e
commit e2973a875a
236 changed files with 9843 additions and 7561 deletions

View file

@ -439,7 +439,7 @@ namespace Ryujinx.HLE.FileSystem
var mountName = "system".ToU8Span();
DirectoryHandle handle = default;
List<ulong> localList = new();
List<ulong> localList = [];
try
{
@ -636,7 +636,7 @@ namespace Ryujinx.HLE.FileSystem
}
private static readonly ExtraDataFixInfo[] _systemExtraDataFixInfo =
{
[
new ExtraDataFixInfo()
{
StaticSaveDataId = 0x8000000000000030,
@ -652,8 +652,8 @@ namespace Ryujinx.HLE.FileSystem
Flags = SaveDataFlags.None,
DataSize = 0xC000,
JournalSize = 0xC000,
},
};
}
];
public void Dispose()
{