x86emitter: fix order of operations mixup

This commit is contained in:
tellowkrinkle
2020-12-16 23:40:14 -06:00
parent 406ef3741c
commit 66ed78f2c8
+1 -1
View File
@@ -338,7 +338,7 @@ public:
/// Checks if mapping the ID directly would be a good idea
bool canMapIDTo(int otherSize) const
{
if ((otherSize == 1) == GetOperandSize() == 1)
if ((otherSize == 1) == (GetOperandSize() == 1))
return true;
return isIDSameInAllSizes();
}