internal BSAFileInfo(BSAArchive bsa, int offset, int size) { BSA = bsa; Offset = offset; Size = size; if ((Size & (1 << 30)) != 0) { Size ^= 1 << 30; Compressed = !BSA._defaultCompressed; } else { Compressed = BSA._defaultCompressed; } }
internal BSAFileInfo(BSAArchive _bsa, int _offset, int _size) { bsa = _bsa; offset = _offset; size = _size; if ((size & (1 << 30)) != 0) { size ^= 1 << 30; compressed = !bsa.defaultCompressed; } else { compressed = bsa.defaultCompressed; } }