(LZ4): messed up frame header bits.

This commit is contained in:
morkt 2017-03-03 17:41:08 +04:00
parent f435bf7349
commit 262ffcdd2a

View File

@ -76,8 +76,8 @@ namespace GameRes.Compression
throw Lz4Stream.InvalidData();
IndependentBlocks = 0 != (flags & 0x20);
HasBlockChecksum = 0 != (flags & 0x10);
HasContentLength = 0 != (flags & 4);
HasContentChecksum = 0 != (flags & 3);
HasContentLength = 0 != (flags & 8);
HasContentChecksum = 0 != (flags & 4);
HasDictionary = 0 != (flags & 1);
}