- file system update from Raze
* support for SSI container format - this is an obscure format used by a few Duke Nukem mods - added to have this subsystem identical between both engines. * removed some dead wrapper code * made the Open methods local to their implementations, this was never called virtually.
This commit is contained in:
parent
79ac41c5b3
commit
8a0634ed0d
15 changed files with 171 additions and 98 deletions
|
|
@ -464,7 +464,7 @@ FResourceFile *CheckZip(const char *filename, FileReader &file, bool quiet, Lump
|
|||
file.Seek(0, FileReader::SeekSet);
|
||||
if (!memcmp(head, "PK\x3\x4", 4))
|
||||
{
|
||||
FResourceFile *rf = new FZipFile(filename, file);
|
||||
auto rf = new FZipFile(filename, file);
|
||||
if (rf->Open(quiet, filter)) return rf;
|
||||
|
||||
file = std::move(rf->Reader); // to avoid destruction of reader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue