mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-12 04:49:32 +08:00
(GWD): use Buffer.BlockCopy to copy bytes.
This commit is contained in:
parent
8c6b44bb3f
commit
322632e4d8
@ -150,10 +150,8 @@ namespace GameRes.Formats.AdvSys
|
|||||||
for (int y = 0; y < m_height; ++y)
|
for (int y = 0; y < m_height; ++y)
|
||||||
{
|
{
|
||||||
FillLine();
|
FillLine();
|
||||||
for (int src = 0; src < m_width; ++src)
|
Buffer.BlockCopy (m_line_buf, 0, m_output, dst, m_width);
|
||||||
{
|
dst += m_width;
|
||||||
m_output[dst++] = m_line_buf[src];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user