(GyuReader): use Binary.CopyOverlapped.

This commit is contained in:
morkt 2015-11-02 09:43:43 +04:00
parent 865b37de90
commit 2b6f14d01b

View File

@ -202,11 +202,8 @@ namespace GameRes.Formats.ExHibit
offset = -1 << 8 | mem.ReadByte();
}
for (int i = 0; i <= count; ++i)
{
m_output[dst] = m_output[dst+offset];
++dst;
}
Binary.CopyOverlapped (m_output, dst+offset, dst, ++count);
dst += count;
}
}
}