mirror of https://github.com/PCSX2/pcsx2.git
iop rec: add the missing LWC2/SWC2 (CP2 reg from/to mem)
This commit is contained in:
parent
1ee0526e41
commit
b47c50ae5d
|
@ -1420,6 +1420,9 @@ REC_GTE_FUNC(CFC2);
|
||||||
REC_GTE_FUNC(MTC2);
|
REC_GTE_FUNC(MTC2);
|
||||||
REC_GTE_FUNC(CTC2);
|
REC_GTE_FUNC(CTC2);
|
||||||
|
|
||||||
|
REC_GTE_FUNC(LWC2);
|
||||||
|
REC_GTE_FUNC(SWC2);
|
||||||
|
|
||||||
|
|
||||||
// R3000A tables
|
// R3000A tables
|
||||||
extern void (*rpsxBSC[64])();
|
extern void (*rpsxBSC[64])();
|
||||||
|
@ -1446,8 +1449,8 @@ void (*rpsxBSC[64])() = {
|
||||||
rpsxNULL , rpsxNULL , rpsxNULL, rpsxNULL , rpsxNULL, rpsxNULL, rpsxNULL, rpsxNULL,
|
rpsxNULL , rpsxNULL , rpsxNULL, rpsxNULL , rpsxNULL, rpsxNULL, rpsxNULL, rpsxNULL,
|
||||||
rpsxLB , rpsxLH , rpsxLWL , rpsxLW , rpsxLBU , rpsxLHU , rpsxLWR , rpsxNULL,
|
rpsxLB , rpsxLH , rpsxLWL , rpsxLW , rpsxLBU , rpsxLHU , rpsxLWR , rpsxNULL,
|
||||||
rpsxSB , rpsxSH , rpsxSWL , rpsxSW , rpsxNULL, rpsxNULL, rpsxSWR , rpsxNULL,
|
rpsxSB , rpsxSH , rpsxSWL , rpsxSW , rpsxNULL, rpsxNULL, rpsxSWR , rpsxNULL,
|
||||||
rpsxNULL , rpsxNULL , rpsxNULL, rpsxNULL , rpsxNULL, rpsxNULL, rpsxNULL, rpsxNULL,
|
rpsxNULL , rpsxNULL , rgteLWC2, rpsxNULL , rpsxNULL, rpsxNULL, rpsxNULL, rpsxNULL,
|
||||||
rpsxNULL , rpsxNULL , rpsxNULL, rpsxNULL , rpsxNULL, rpsxNULL, rpsxNULL, rpsxNULL
|
rpsxNULL , rpsxNULL , rgteSWC2, rpsxNULL , rpsxNULL, rpsxNULL, rpsxNULL, rpsxNULL
|
||||||
};
|
};
|
||||||
|
|
||||||
void (*rpsxSPC[64])() = {
|
void (*rpsxSPC[64])() = {
|
||||||
|
@ -1561,6 +1564,11 @@ void rpsxpropBSC(EEINST* prev, EEINST* pinst)
|
||||||
rpsxpropSetRead(_Rs_);
|
rpsxpropSetRead(_Rs_);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 50: // LWC2
|
||||||
|
case 58: // SWC2
|
||||||
|
// Operation on COP2 registers/memory. GPRs are left untouched
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
rpsxpropSetWrite(_Rt_);
|
rpsxpropSetWrite(_Rt_);
|
||||||
rpsxpropSetRead(_Rs_);
|
rpsxpropSetRead(_Rs_);
|
||||||
|
|
Loading…
Reference in New Issue