mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
(Reset): new public method.
This commit is contained in:
parent
aadddecc9b
commit
21c88e184d
@ -45,6 +45,11 @@ namespace GameRes.Formats
|
|||||||
int m_bits = 0;
|
int m_bits = 0;
|
||||||
int m_cached_bits = 0;
|
int m_cached_bits = 0;
|
||||||
|
|
||||||
|
public void Reset ()
|
||||||
|
{
|
||||||
|
m_cached_bits = 0;
|
||||||
|
}
|
||||||
|
|
||||||
public int GetNextBit ()
|
public int GetNextBit ()
|
||||||
{
|
{
|
||||||
return GetBits (1);
|
return GetBits (1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user