From a73471c0b5843414ded7a43556587f363c977196 Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 21 Feb 2016 22:08:18 +0400 Subject: [PATCH] (NpkSegment): IsCompressed is better off as a property. --- ArcFormats/NitroPlus/ArcNPK.cs | 3 +-- supported.html | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArcFormats/NitroPlus/ArcNPK.cs b/ArcFormats/NitroPlus/ArcNPK.cs index cb3f06c0..e3a06f82 100644 --- a/ArcFormats/NitroPlus/ArcNPK.cs +++ b/ArcFormats/NitroPlus/ArcNPK.cs @@ -44,7 +44,7 @@ namespace GameRes.Formats.NitroPlus public uint AlignedSize; public uint Size; public uint UnpackedSize; - public bool IsCompressed; + public bool IsCompressed { get { return Size < UnpackedSize; } } } internal class NpkArchive : ArcFile @@ -153,7 +153,6 @@ namespace GameRes.Formats.NitroPlus segment.AlignedSize = index.ReadUInt32(); segment.Size = index.ReadUInt32(); segment.UnpackedSize = index.ReadUInt32(); - segment.IsCompressed = segment.Size < segment.UnpackedSize; entry.Segments.Add (segment); packed_size += segment.AlignedSize; is_packed = is_packed || segment.IsCompressed; diff --git a/supported.html b/supported.html index bf328867..a0b5b892 100644 --- a/supported.html +++ b/supported.html @@ -649,6 +649,7 @@ Wondering Repair!
*.pac-NoTmr-Hiro ADV System Hitozuma Sakunyuu Hyakkaten
+Mai Miko Moe
*.snn+*.inx-NoBlueGale Cafe Junkie