misc: chore: Use collection expressions in HLE project
This commit is contained in:
@@ -1072,7 +1072,7 @@ namespace Ryujinx.HLE.FileSystem
|
||||
|
||||
public bool AreKeysAlredyPresent(string pathToCheck)
|
||||
{
|
||||
string[] fileNames = { "prod.keys", "title.keys", "console.keys", "dev.keys" };
|
||||
string[] fileNames = ["prod.keys", "title.keys", "console.keys", "dev.keys"];
|
||||
foreach (string file in fileNames)
|
||||
{
|
||||
if (File.Exists(Path.Combine(pathToCheck, file)))
|
||||
|
||||
@@ -439,7 +439,7 @@ namespace Ryujinx.HLE.FileSystem
|
||||
|
||||
U8Span mountName = "system".ToU8Span();
|
||||
DirectoryHandle handle = default;
|
||||
List<ulong> localList = new();
|
||||
List<ulong> localList = [];
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user