From 66ed78f2c8caede1b5bb3a4d0a905af4b2270f2c Mon Sep 17 00:00:00 2001 From: tellowkrinkle Date: Wed, 16 Dec 2020 23:30:08 -0600 Subject: [PATCH] x86emitter: fix order of operations mixup --- common/include/x86emitter/x86types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/include/x86emitter/x86types.h b/common/include/x86emitter/x86types.h index f40e772d25..b68426ef51 100644 --- a/common/include/x86emitter/x86types.h +++ b/common/include/x86emitter/x86types.h @@ -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(); }