Fix folder datalength on build darc

This commit is contained in:
Kurt
2015-05-19 07:39:25 -07:00
parent a4f9de789b
commit b1a36a985c

View File

@@ -156,7 +156,7 @@ internal static DARC getDARC(string folderName)
EntryList.Add(new FileTableEntry
{
DataOffset = 1,
DataLength = (uint) files.Count(),
DataLength = (uint) (files.Count() + EntryList.Count),
IsFolder = true,
NameOffset = nameOffset
});