(XoredStream.Write): fixed.

This commit is contained in:
morkt 2016-10-09 19:29:14 +04:00
parent 6a57bfb43d
commit 6b0f848ba3

View File

@ -572,7 +572,7 @@ namespace GameRes.Formats
{
write_buf[i] = (byte)(buffer[offset+i] ^ m_key);
}
BaseStream.Write (write_buf, 0, count);
BaseStream.Write (write_buf, 0, chunk);
offset += chunk;
count -= chunk;
}