misc: chore: Fix object creation

This commit is contained in:
KeatonTheBot
2025-09-25 17:04:07 -05:00
parent 0928851966
commit 9cdd9f6dbf
48 changed files with 315 additions and 316 deletions
+2 -2
View File
@@ -485,7 +485,7 @@ namespace Ryujinx.HLE.FileSystem
if (!isXci)
{
using ZipArchive archive = new ZipArchive(stream);
using ZipArchive archive = new(stream);
InstallFromZip(archive, temporaryDirectory);
}
else
@@ -728,7 +728,7 @@ namespace Ryujinx.HLE.FileSystem
{
if (!isXci)
{
using ZipArchive archive = new ZipArchive(file, ZipArchiveMode.Read);
using ZipArchive archive = new(file, ZipArchiveMode.Read);
return VerifyAndGetVersionZip(archive);
}
else
@@ -637,7 +637,7 @@ namespace Ryujinx.HLE.FileSystem
private static readonly ExtraDataFixInfo[] _systemExtraDataFixInfo =
[
new ExtraDataFixInfo()
new()
{
StaticSaveDataId = 0x8000000000000030,
OwnerId = 0x010000000000001F,
@@ -645,7 +645,7 @@ namespace Ryujinx.HLE.FileSystem
DataSize = 0x10000,
JournalSize = 0x10000,
},
new ExtraDataFixInfo()
new()
{
StaticSaveDataId = 0x8000000000001040,
OwnerId = 0x0100000000001009,