mirror of
https://github.com/libretro/Play-.git
synced 2024-11-28 03:00:49 +00:00
Added support for BC0FL.
This commit is contained in:
parent
f9f04dab35
commit
63fbc0aa88
@ -128,6 +128,14 @@ void CCOP_SCU::BC0T()
|
||||
Branch(Jitter::CONDITION_NE);
|
||||
}
|
||||
|
||||
//02
|
||||
void CCOP_SCU::BC0FL()
|
||||
{
|
||||
m_codeGen->PushRel(offsetof(CMIPS, m_State.nCOP0[CPCOND0]));
|
||||
m_codeGen->PushCst(0);
|
||||
BranchLikely(Jitter::CONDITION_EQ);
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
//Coprocessor Specific Opcodes
|
||||
//////////////////////////////////////////////////
|
||||
@ -212,7 +220,7 @@ CCOP_SCU::InstructionFuncConstant CCOP_SCU::m_pOpGeneral[0x20] =
|
||||
CCOP_SCU::InstructionFuncConstant CCOP_SCU::m_pOpBC0[0x20] =
|
||||
{
|
||||
//0x00
|
||||
&CCOP_SCU::BC0F, &CCOP_SCU::BC0T, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal,
|
||||
&CCOP_SCU::BC0F, &CCOP_SCU::BC0T, &CCOP_SCU::BC0FL, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal,
|
||||
//0x08
|
||||
&CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal, &CCOP_SCU::Illegal,
|
||||
//0x10
|
||||
|
@ -62,6 +62,7 @@ private:
|
||||
//BC0
|
||||
void BC0F();
|
||||
void BC0T();
|
||||
void BC0FL();
|
||||
|
||||
//C0
|
||||
void ERET();
|
||||
|
@ -148,7 +148,7 @@ INSTRUCTION CCOP_SCU::m_cReflBc0[4] =
|
||||
//0x00
|
||||
{ "BC0F", NULL, CopyMnemonic, ReflOpCcOff, MIPSReflection::IsBranch, ReflEaOffset },
|
||||
{ "BC0T", NULL, CopyMnemonic, ReflOpCcOff, MIPSReflection::IsBranch, ReflEaOffset },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
{ "BC0FL", NULL, CopyMnemonic, ReflOpCcOff, MIPSReflection::IsBranch, ReflEaOffset },
|
||||
{ NULL, NULL, NULL, NULL, NULL, NULL },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user