diff --git a/ArcFormats/BitStream.cs b/ArcFormats/BitStream.cs index 89ea0d3a..a65cde94 100644 --- a/ArcFormats/BitStream.cs +++ b/ArcFormats/BitStream.cs @@ -45,6 +45,11 @@ namespace GameRes.Formats int m_bits = 0; int m_cached_bits = 0; + public void Reset () + { + m_cached_bits = 0; + } + public int GetNextBit () { return GetBits (1);