diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index 0830894781..bce16ba462 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -572,7 +572,7 @@ namespace MIPSInt { //TODO: verify int x = 31; int count=0; - while (!(R(rs) & (1<= 0) + while (x >= 0 && !(R(rs) & (1<= 0) + while (x >= 0 && (R(rs) & (1<