1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 14:14:47 +01:00

use 64byte alignement

This commit is contained in:
FunkyFr3sh 2022-09-25 11:56:15 +02:00
parent c39280deb2
commit ecd2b08e49

View File

@ -12,7 +12,7 @@ void blt_copy(
size_t size)
{
#if defined(_MSC_VER) || defined(__AVX__)
if (!((DWORD)dst % 32) && !((DWORD)src % 32))
if (!((DWORD)dst % 64) && !((DWORD)src % 64))
{
if (size >= 1024 * 4096 && g_blt_use_avx)
{