mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-26 23:24:00 +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();
|
entry.Size = index.ReadUInt32();
|
||||||
if (!entry.CheckPlacement (m_file.MaxOffset))
|
if (!entry.CheckPlacement (m_file.MaxOffset))
|
||||||
return false;
|
return false;
|
||||||
bool isPacked = false;
|
|
||||||
switch (m_pack_type)
|
switch (m_pack_type)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
@ -176,18 +175,16 @@ namespace GameRes.Formats.NeXAS
|
|||||||
case 3:
|
case 3:
|
||||||
case 6:
|
case 6:
|
||||||
{
|
{
|
||||||
isPacked = true;
|
entry.IsPacked = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 4:
|
case 4:
|
||||||
case 7:
|
case 7:
|
||||||
{
|
{
|
||||||
isPacked = entry.Size != entry.UnpackedSize;
|
entry.IsPacked = entry.Size != entry.UnpackedSize;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
entry.IsPacked = isPacked;
|
|
||||||
|
|
||||||
m_dir.Add (entry);
|
m_dir.Add (entry);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user