mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14:13 +08:00
(UnpackIndexed): minor fixes.
This commit is contained in:
parent
4ee3511075
commit
853376d169
@ -183,7 +183,7 @@ namespace GameRes.Formats.Lucifen
|
|||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
byte flags = m_input.ReadByte();
|
byte flags = m_input.ReadByte();
|
||||||
if (0xff == flags || dst >= m_output.Length)
|
if (0xff == flags || dst >= output.Length)
|
||||||
break;
|
break;
|
||||||
int count, pos;
|
int count, pos;
|
||||||
|
|
||||||
@ -194,8 +194,8 @@ namespace GameRes.Formats.Lucifen
|
|||||||
else
|
else
|
||||||
count = (flags & 0x1f) + 1;
|
count = (flags & 0x1f) + 1;
|
||||||
|
|
||||||
for (int i = 0; i < count; ++i)
|
m_input.Read (output, dst, count);
|
||||||
output[dst++] = m_input.ReadByte();
|
dst += count;
|
||||||
}
|
}
|
||||||
else if ((flags & 0xc0) == 0x40)
|
else if ((flags & 0xc0) == 0x40)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user