mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(XoredStream.Write): fixed.
This commit is contained in:
parent
6a57bfb43d
commit
6b0f848ba3
@ -572,7 +572,7 @@ namespace GameRes.Formats
|
|||||||
{
|
{
|
||||||
write_buf[i] = (byte)(buffer[offset+i] ^ m_key);
|
write_buf[i] = (byte)(buffer[offset+i] ^ m_key);
|
||||||
}
|
}
|
||||||
BaseStream.Write (write_buf, 0, count);
|
BaseStream.Write (write_buf, 0, chunk);
|
||||||
offset += chunk;
|
offset += chunk;
|
||||||
count -= chunk;
|
count -= chunk;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user