mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-03 03:27:19 +00:00
Make sure an error case has defined behavior.
This commit is contained in:
parent
603fb0a7f7
commit
07982a31c2
@ -703,6 +703,7 @@ namespace MIPSInt
|
||||
break;
|
||||
default:
|
||||
_dbg_assert_msg_(CPU, 0, "Trying to interpret Int_Vh2f instruction that can't be interpreted");
|
||||
memset(d, 0, sizeof(d));
|
||||
break;
|
||||
}
|
||||
ApplyPrefixD(d, outsize);
|
||||
@ -1370,6 +1371,7 @@ namespace MIPSInt
|
||||
{
|
||||
Reporting::ReportMessage("Trying to interpret instruction that can't be interpreted (BADVTFM)");
|
||||
_dbg_assert_msg_(CPU,0,"Trying to interpret instruction that can't be interpreted (BADVTFM)");
|
||||
memset(d, 0, sizeof(d));
|
||||
}
|
||||
WriteVector(d, sz, vd);
|
||||
PC += 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user