From 5af15b6fd313dccc333d0f63bc994998476027e1 Mon Sep 17 00:00:00 2001 From: nakeee Date: Sun, 7 Sep 2008 14:04:25 +0000 Subject: [PATCH] added () git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@459 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/x64Analyzer.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/Core/Common/Src/x64Analyzer.cpp b/Source/Core/Common/Src/x64Analyzer.cpp index 07434757b8..00fb299c84 100644 --- a/Source/Core/Common/Src/x64Analyzer.cpp +++ b/Source/Core/Common/Src/x64Analyzer.cpp @@ -74,7 +74,7 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo &info, int acc if (!twoByte) { if ((codeByte & 0xF0) == 0x80 || - (codeByte & 0xF8) == 0xC0 && (codeByte & 0x0E) != 0x02) + ((codeByte & 0xF8) == 0xC0 && (codeByte & 0x0E) != 0x02)) { modRMbyte = *codePtr++; hasModRM = true; @@ -82,12 +82,12 @@ bool DisassembleMov(const unsigned char *codePtr, InstructionInfo &info, int acc } else { - if ((codeByte2 & 0xF0) == 0x00 && (codeByte2 & 0x0F) >= 0x04 && (codeByte2 & 0x0D) != 0x0D || - (codeByte2 & 0xF0) == 0x30 || - codeByte2 == 0x77 || - (codeByte2 & 0xF0) == 0x80 || - (codeByte2 & 0xF0) == 0xA0 && (codeByte2 & 0x07) <= 0x02 || - (codeByte2 & 0xF8) == 0xC8) + if (((codeByte2 & 0xF0) == 0x00 && (codeByte2 & 0x0F) >= 0x04 && (codeByte2 & 0x0D) != 0x0D) || + (codeByte2 & 0xF0) == 0x30 || + codeByte2 == 0x77 || + (codeByte2 & 0xF0) == 0x80 || + ((codeByte2 & 0xF0) == 0xA0 && (codeByte2 & 0x07) <= 0x02) || + (codeByte2 & 0xF8) == 0xC8) { // No mod R/M byte }