- use FCompressedBuffer to store level snapshots. FCompressedMemFile has been removed.

This commit is contained in:
Christoph Oelckers 2016-09-21 01:48:23 +02:00
commit 075e98c967
11 changed files with 46 additions and 249 deletions

View file

@ -314,6 +314,7 @@ FCompressedBuffer FZipFile::GetRawLump(int lumpnum)
FCompressedBuffer cbuf = { (unsigned)lmp->LumpSize, (unsigned)lmp->CompressedSize, lmp->Method, lmp->GPFlags, new char[lmp->CompressedSize] };
Reader->Seek(lmp->Position, SEEK_SET);
Reader->Read(cbuf.mBuffer, lmp->CompressedSize);
return cbuf;
}
//==========================================================================