Fix a couple potential infinite loops.

This commit is contained in:
Unknown W. Brackets committed 2013-08-11 16:28:20 -07:00
1 parent 3009a92cdd
commit ebfa3de388
1 file changed
+6
+6
View File
@@ -328,6 +328,8 @@ namespace MIPSInt
case 7: m=one; break; // vmone
default:
_dbg_assert_msg_(CPU,0,"Trying to interpret instruction that can't be interpreted");
PC += 4;
EatPrefixes();
return;
}
@@ -350,6 +352,8 @@ namespace MIPSInt
case 7: v=ones; break; //vone
default:
_dbg_assert_msg_(CPU,0,"Trying to interpret instruction that can't be interpreted");
PC += 4;
EatPrefixes();
return;
}
float o[4];
@@ -1529,6 +1533,8 @@ namespace MIPSInt
break;
default:
_dbg_assert_msg_(CPU,0,"unknown min/max op %d", cond);
PC += 4;
EatPrefixes();
return;
}
ApplyPrefixD(d, sz);