优化内存拷贝耗时

This commit is contained in:
ALIENJACK\alien 2024-08-15 11:07:54 +08:00
parent 360812e3fd
commit 95e1138a45

View File

@ -27,7 +27,7 @@ namespace VirtualNes.Core
{
var offsetptr = ptr + offset;
Unsafe.InitBlock(offsetptr, value, (uint)length);
Unsafe.InitBlockUnaligned(offsetptr, value, (uint)length);
}
}