x86emitter: fix order of operations mixup

This commit is contained in:
tellowkrinkle 2020-12-16 23:30:08 -06:00
parent 406ef3741c
commit 66ed78f2c8
1 changed files with 1 additions and 1 deletions

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();
}