From 5a9a873c4bd7b6c8863e279ac74159f78039c6ee Mon Sep 17 00:00:00 2001 From: ManicSteiner Date: Tue, 5 Dec 2023 23:24:09 +0800 Subject: [PATCH] perf: change ARC20 into none-packed entry --- ArcFormats/MAGES/ArcARC20.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArcFormats/MAGES/ArcARC20.cs b/ArcFormats/MAGES/ArcARC20.cs index a0869ab7..a8c3f1cd 100644 --- a/ArcFormats/MAGES/ArcARC20.cs +++ b/ArcFormats/MAGES/ArcARC20.cs @@ -36,12 +36,10 @@ namespace GameRes.Formats.MAGES } var sjis = System.Text.Encoding.GetEncoding("Shift-JIS"); var name = sjis.GetString(namebyte.ToArray()); - var entry = Create(name); + var entry = Create(name); entry.Offset = file.View.ReadUInt32(16 * i + 16 + 4) * 2048; - entry.Size = file.View.ReadUInt32(16 * i + 16 + 8); - entry.UnpackedSize = file.View.ReadUInt32(16 * i + 16 + 8); if (!entry.CheckPlacement(file.MaxOffset)) return null; dir.Add(entry);