mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(NpkSegment): IsCompressed is better off as a property.
This commit is contained in:
parent
4d90314f0a
commit
a73471c0b5
@ -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;
|
||||
|
@ -649,6 +649,7 @@ Wondering Repair!<br/>
|
||||
</td></tr>
|
||||
<tr><td>*.pac</td><td>-</td><td>No</td><td>Tmr-Hiro ADV System</td><td>
|
||||
Hitozuma Sakunyuu Hyakkaten<br/>
|
||||
Mai Miko Moe<br/>
|
||||
</td></tr>
|
||||
<tr class="odd"><td>*.snn+*.inx</td><td>-</td><td>No</td><td rowspan="2">BlueGale</td><td rowspan="2">
|
||||
Cafe Junkie<br/>
|
||||
|
Loading…
Reference in New Issue
Block a user