mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Fix a couple potential infinite loops.
This commit is contained in:
1 parent
3009a92cdd
commit
ebfa3de388
1 file changed
+6
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user