mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
VertexLoaderX64: fix harmless off-by-one error
This commit is contained in:
@ -98,9 +98,9 @@ int VertexLoaderX64::ReadVertex(OpArg data, u64 attribute, int format, int count
|
|||||||
|
|
||||||
int elem_size = 1 << (format / 2);
|
int elem_size = 1 << (format / 2);
|
||||||
int load_bytes = elem_size * count_in;
|
int load_bytes = elem_size * count_in;
|
||||||
if (load_bytes >= 8)
|
if (load_bytes > 8)
|
||||||
MOVDQU(coords, data);
|
MOVDQU(coords, data);
|
||||||
else if (load_bytes >= 4)
|
else if (load_bytes > 4)
|
||||||
MOVQ_xmm(coords, data);
|
MOVQ_xmm(coords, data);
|
||||||
else
|
else
|
||||||
MOVD_xmm(coords, data);
|
MOVD_xmm(coords, data);
|
||||||
|
Reference in New Issue
Block a user