mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Add two new instructions to the MIPS interpreter for logging. vertex.pbp demo seems to use one of them.
This commit is contained in:
1 parent
fbfbe6d90d
commit
a35a407207
4 files changed
+27
-3
No files matched your search
@@ -798,6 +798,29 @@ namespace MIPSInt
|
||||
PC += 4;
|
||||
}
|
||||
|
||||
void Int_Special2(MIPSOpcode op)
|
||||
{
|
||||
static int reported = 0;
|
||||
switch (op & 0x3F)
|
||||
{
|
||||
case 36:
|
||||
if (!reported) {
|
||||
Reporting::ReportMessage("MFIC instruction hit (%08x) at %08x", op, currentMIPS->pc);
|
||||
WARN_LOG(CPU,"MFIC Disable/Enable Interrupt CPU instruction");
|
||||
reported = 1;
|
||||
}
|
||||
break;
|
||||
case 38:
|
||||
if (!reported) {
|
||||
Reporting::ReportMessage("MTIC instruction hit (%08x) at %08x", op, currentMIPS->pc);
|
||||
WARN_LOG(CPU,"MTIC Disable/Enable Interrupt CPU instruction");
|
||||
reported = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
PC += 4;
|
||||
}
|
||||
|
||||
void Int_Special3(MIPSOpcode op)
|
||||
{
|
||||
int rs = _RS;
|
||||
|
||||
Reference in new issue
Block a user