mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 08:08:54 +02:00
misc: chore: Use collection expressions
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Ryujinx.Modules
|
||||
private static bool _updateSuccessful;
|
||||
private static bool _running;
|
||||
|
||||
private static readonly string[] _windowsDependencyDirs = Array.Empty<string>();
|
||||
private static readonly string[] _windowsDependencyDirs = [];
|
||||
|
||||
public static async Task BeginParse(Window mainWindow, bool showVersionUpToDate)
|
||||
{
|
||||
@@ -353,7 +353,7 @@ namespace Ryujinx.Modules
|
||||
|
||||
for (int i = 0; i < ConnectionCount; i++)
|
||||
{
|
||||
list.Add(Array.Empty<byte>());
|
||||
list.Add([]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < ConnectionCount; i++)
|
||||
|
||||
Reference in New Issue
Block a user