moved a few things out of the common code that should be defined privately.

This commit is contained in:
Christoph Oelckers 2024-02-04 13:54:25 +01:00
commit f1db369883
6 changed files with 6 additions and 8 deletions

View file

@ -395,7 +395,7 @@ void FileSystem::AddFile (const char *filename, FileReader *filer, LumpFilterInf
std::string path = filename;
path += ':';
path += resfile->getName(i);
auto embedded = resfile->GetEntryReader(i, READER_NEW, READERFLAG_SEEKABLE);
auto embedded = resfile->GetEntryReader(i, READER_CACHED);
AddFile(path.c_str(), &embedded, filter, Printf, hashfile);
}
}