fixed some filesystem issues with directories and compression.

This commit is contained in:
Christoph Oelckers 2023-12-17 17:15:14 +01:00
commit 273f7c55bc
10 changed files with 22 additions and 13 deletions

View file

@ -81,7 +81,7 @@ bool OpenWHRes(FResourceFile* file, LumpFilterInfo*)
std::string synthname = BaseName + num;
Entries[i].Position = offset;
Entries[i].Length = length;
Entries[i].CompressedSize = Entries[i].Length = length;
Entries[i].Flags = RESFF_FULLPATH;
Entries[i].Namespace = ns_global;
Entries[i].ResourceID = -1;