(MMX.PSlld): shift count limited to 32 bits.

This commit is contained in:
morkt 2015-12-03 15:54:09 +04:00
parent af9ec6f096
commit 007b835320

View File

@ -463,6 +463,7 @@ namespace GameRes.Formats
public static ulong PSllD (ulong x, int count)
{
count &= 0x1F;
ulong mask = 0xFFFFFFFFu << count;
mask |= mask << 32;
return (x << count) & mask;