diff options
Diffstat (limited to 'vfs')
| -rw-r--r-- | vfs/UVFSCore.pas | 2 | ||||
| -rw-r--r-- | vfs/uVFSprototypes.pas | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/vfs/UVFSCore.pas b/vfs/UVFSCore.pas index a514512..270b240 100644 --- a/vfs/UVFSCore.pas +++ b/vfs/UVFSCore.pas @@ -596,6 +596,7 @@ begin UID := P^.iUID; GID := P^.iGID; Size := P^.iSize; + PackedSize := P^.iPackedSize; libc_free(P); end; Result := Item; @@ -658,6 +659,7 @@ var Item: PDataItemSL; UID := P^.iUID; GID := P^.iGID; Size := P^.iSize; + PackedSize := P^.iPackedSize; Level := ALevel + Ord(not AddCurrDirStage); end; if AddCurrDirStage then List.Add(Item) diff --git a/vfs/uVFSprototypes.pas b/vfs/uVFSprototypes.pas index 4ccde33..35d6d8f 100644 --- a/vfs/uVFSprototypes.pas +++ b/vfs/uVFSprototypes.pas @@ -112,6 +112,8 @@ type // FDisplayName - plugins must ensure correct UTF-8 string FDisplayName: PChar; iSize: Int64; + // iPackedSize - set to -1 if plugin doesn't support this feature + iPackedSize: Int64; m_time: DWORD; a_time: DWORD; c_time: DWORD; @@ -124,6 +126,7 @@ type FName: PChar; FDisplayName: PChar; iSize: Int64; + iPackedSize: Int64; m_time: QWORD; a_time: QWORD; c_time: QWORD; |
