moved a few things out of the common code that should be defined privately.
This commit is contained in:
parent
d0a2713820
commit
f1db369883
6 changed files with 6 additions and 8 deletions
|
|
@ -980,7 +980,7 @@ bool OpenDecompressor(FileReader& self, FileReader &parent, FileReader::Size len
|
|||
}
|
||||
dec->Length = length;
|
||||
}
|
||||
if ((flags & DCF_CACHED))
|
||||
if ((flags & (DCF_CACHED| DCF_SEEKABLE))) // the buffering reader does not seem to be stable, so cache it instead until we find out what's wrong.
|
||||
{
|
||||
// read everything into a MemoryArrayReader.
|
||||
FileData data(nullptr, length);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue