mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-24 12:47:32 +08:00
use Buffer.BlockCopy instead of Array.Copy.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace GameRes.Utility
|
||||
{
|
||||
if (preceding > count)
|
||||
preceding = count;
|
||||
System.Array.Copy (data, src, data, dst, preceding);
|
||||
System.Buffer.BlockCopy (data, src, data, dst, preceding);
|
||||
src = dst;
|
||||
dst += preceding;
|
||||
count -= preceding;
|
||||
|
||||
Reference in New Issue
Block a user