mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-05 04:58:58 +02:00
misc: chore: Fix object creation
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user