mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
Update HuffmanDecoder.cs
This commit is contained in:
parent
2ad5095cec
commit
4773ff148f
@ -343,9 +343,10 @@ namespace GameRes.Formats.DxLib
|
||||
if (0 == m_bit_count)
|
||||
{
|
||||
m_bits = m_input[m_src];
|
||||
m_src += 1;
|
||||
m_src++;
|
||||
m_bit_count = 8;
|
||||
}
|
||||
//bits are read backwards.
|
||||
bits |= ((ulong)((m_bits >> (7 - m_readBits)) & 1)) <<(count-1-i);
|
||||
--m_bit_count;
|
||||
m_readBits++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user