mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
fixed packed file size in created archives.
This commit is contained in:
parent
5688546a85
commit
881a95c165
@ -474,6 +474,7 @@ NextEntry:
|
||||
xp3entry.Hash = CheckedCopy (file, zstream);
|
||||
zstream.Flush();
|
||||
segment.PackedSize = (uint)zstream.TotalOut;
|
||||
xp3entry.Size = segment.PackedSize;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -538,6 +539,7 @@ NextEntry:
|
||||
{
|
||||
output.Flush();
|
||||
segment.PackedSize = (uint)(output as ZLibStream).TotalOut;
|
||||
xp3entry.Size = segment.PackedSize;
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
Loading…
Reference in New Issue
Block a user