(GWD): use Buffer.BlockCopy to copy bytes.

This commit is contained in:
morkt 2016-10-14 10:20:13 +04:00
parent 8c6b44bb3f
commit 322632e4d8

View File

@ -150,10 +150,8 @@ namespace GameRes.Formats.AdvSys
for (int y = 0; y < m_height; ++y)
{
FillLine();
for (int src = 0; src < m_width; ++src)
{
m_output[dst++] = m_line_buf[src];
}
Buffer.BlockCopy (m_line_buf, 0, m_output, dst, m_width);
dst += m_width;
}
}