mirror of https://github.com/PCSX2/pcsx2.git
x86emitter: fix order of operations mixup
This commit is contained in:
parent
406ef3741c
commit
66ed78f2c8
|
@ -338,7 +338,7 @@ public:
|
||||||
/// Checks if mapping the ID directly would be a good idea
|
/// Checks if mapping the ID directly would be a good idea
|
||||||
bool canMapIDTo(int otherSize) const
|
bool canMapIDTo(int otherSize) const
|
||||||
{
|
{
|
||||||
if ((otherSize == 1) == GetOperandSize() == 1)
|
if ((otherSize == 1) == (GetOperandSize() == 1))
|
||||||
return true;
|
return true;
|
||||||
return isIDSameInAllSizes();
|
return isIDSameInAllSizes();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue