diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index 7777d71c5a..c3bcfe4ab9 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -301,8 +301,10 @@ namespace MIPSInt int rt = _RT; int rs = _RS; - if (rt == 0) //destination register is zero register + if (rt == 0) { //destination register is zero register + PC += 4; return; //nop + } switch (op>>26) { @@ -400,6 +402,7 @@ namespace MIPSInt if (((op >> 29) & 1) == 0 && rt == 0) { // Don't load anything into $zr + PC += 4; return; }