mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 05:35:34 +08:00
(RcbReader): fixed input counter.
This commit is contained in:
parent
e38644bab4
commit
834fc8631b
@ -198,9 +198,8 @@ namespace GameRes.Formats.Groover
|
||||
{
|
||||
m_input.Position = 0x18;
|
||||
var output = new byte[m_unpacked_size];
|
||||
int src = 0;
|
||||
int dst = 0;
|
||||
while (src < m_packed_size && dst < m_unpacked_size)
|
||||
for (int src = 0; src < m_packed_size && dst < m_unpacked_size; ++src)
|
||||
{
|
||||
m_input.Read (output, dst, 3);
|
||||
int count = m_input.ReadUInt8();
|
||||
|
Loading…
Reference in New Issue
Block a user