Merge pull request #958 from LuigiBlood/64dd_2

64DD IPL ROM Recompiler support
This commit is contained in:
zilmar 2016-01-29 10:06:21 +11:00
commit 5cad324699
2 changed files with 4 additions and 5 deletions

View File

@ -8113,8 +8113,7 @@ Status=Unsupported
[00000000-00000000-C:4A] [00000000-00000000-C:4A]
32bit=No 32bit=No
Core Note=Recompiler isn't working properly Fixed Audio=0
CPU Type=Interpreter
Good Name=64DD IPL (JPN) Good Name=64DD IPL (JPN)
RDRAM Size=8 RDRAM Size=8
Status=Issues (core) Status=Compatible

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;