mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user