forked from sin365/AxibugEmuOnline
优化内存拷贝耗时
This commit is contained in:
parent
c7445147b4
commit
7191f27cb0
@ -27,7 +27,7 @@ namespace VirtualNes.Core
|
|||||||
{
|
{
|
||||||
var offsetptr = ptr + offset;
|
var offsetptr = ptr + offset;
|
||||||
|
|
||||||
Unsafe.InitBlock(offsetptr, value, (uint)length);
|
Unsafe.InitBlockUnaligned(offsetptr, value, (uint)length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user