diff --git a/src/ARMInterpreter_ALU.cpp b/src/ARMInterpreter_ALU.cpp index 3e94d2af..e3208668 100644 --- a/src/ARMInterpreter_ALU.cpp +++ b/src/ARMInterpreter_ALU.cpp @@ -1078,7 +1078,7 @@ void A_CLZ(ARM* cpu) val |= 0x1; } - if ((cpu->CurInstr >> 12) & 0xF == 15) cpu->JumpTo(res & ~1); + if (((cpu->CurInstr >> 12) & 0xF) == 15) cpu->JumpTo(res & ~1); else cpu->R[(cpu->CurInstr >> 12) & 0xF] = res; cpu->AddCycles_C(); }