From bd9258d9fab48ecdf2d3a70fca688e6222e13bee Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 21 Sep 2023 23:43:48 -0400 Subject: [PATCH] Fix build --- MSZIP/Decompressor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MSZIP/Decompressor.cs b/MSZIP/Decompressor.cs index 0d4e14e..644bc42 100644 --- a/MSZIP/Decompressor.cs +++ b/MSZIP/Decompressor.cs @@ -101,10 +101,10 @@ namespace SabreTools.Compression.MSZIP private static DeflateBlockHeader ReadDeflateBlockHeader(BitStream input) { var header = new DeflateBlockHeader(); - header.BFINAL = input.ReadBitLSB() != 0x01; - byte btype = input.ReadBitLSB() ?? 0x01; + header.BFINAL = input.ReadBit() != 0x01; + byte btype = input.ReadBit() ?? 0x01; btype <<= 1; - btype |= input.ReadBitLSB() ?? 0x01; + btype |= input.ReadBit() ?? 0x01; header.BTYPE = (CompressionType)btype; return header; }