[Recompiler] Fix COP0_MT() Cause case

Results in 64DD IPL ROM fully working in Recompiler.
Thanks zilmar!
This commit is contained in:
luigiblood 2016-01-28 23:59:53 +01:00
parent 3a1fc904c6
commit 03bd97c46b
1 changed files with 2 additions and 2 deletions

View File

@ -5474,12 +5474,12 @@ void CRecompilerOps::COP0_MT()
} }
break; break;
case 13: //cause case 13: //cause
AndConstToVariable(0xFFFFCFF, &_CP0[m_Opcode.rd], CRegName::Cop0[m_Opcode.rd]);
if (IsConst(m_Opcode.rt)) if (IsConst(m_Opcode.rt))
{ {
AndConstToVariable(0xFFFFCFF, &_CP0[m_Opcode.rd], CRegName::Cop0[m_Opcode.rd]);
if ((GetMipsRegLo(m_Opcode.rt) & 0x300) != 0 && bHaveDebugger()){ g_Notify->DisplayError("Set IP0 or IP1"); } if ((GetMipsRegLo(m_Opcode.rt) & 0x300) != 0 && bHaveDebugger()){ g_Notify->DisplayError("Set IP0 or IP1"); }
} }
else else if (bHaveDebugger())
{ {
UnknownOpcode(); UnknownOpcode();
return; return;