mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-24 00:04:14 -05:00
Fix folder datalength on build darc
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user