mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
Update ArcPAC.cs
This commit is contained in:
parent
ba065f76af
commit
ab7b799c7d
@ -168,7 +168,6 @@ namespace GameRes.Formats.NeXAS
|
||||
entry.Size = index.ReadUInt32();
|
||||
if (!entry.CheckPlacement (m_file.MaxOffset))
|
||||
return false;
|
||||
bool isPacked = false;
|
||||
switch (m_pack_type)
|
||||
{
|
||||
case 1:
|
||||
@ -176,18 +175,16 @@ namespace GameRes.Formats.NeXAS
|
||||
case 3:
|
||||
case 6:
|
||||
{
|
||||
isPacked = true;
|
||||
entry.IsPacked = true;
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
case 7:
|
||||
{
|
||||
isPacked = entry.Size != entry.UnpackedSize;
|
||||
entry.IsPacked = entry.Size != entry.UnpackedSize;
|
||||
break;
|
||||
}
|
||||
}
|
||||
entry.IsPacked = isPacked;
|
||||
|
||||
m_dir.Add (entry);
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user