Core: fix srav in the interpter
This commit is contained in:
parent
e171adfef6
commit
524f56eda7
|
@ -1329,7 +1329,7 @@ void R4300iOp::SPECIAL_SRLV()
|
||||||
|
|
||||||
void R4300iOp::SPECIAL_SRAV()
|
void R4300iOp::SPECIAL_SRAV()
|
||||||
{
|
{
|
||||||
_GPR[m_Opcode.rd].DW = (_GPR[m_Opcode.rt].W[0] >> (_GPR[m_Opcode.rs].UW[0] & 0x1F));
|
_GPR[m_Opcode.rd].DW = (int32_t)(_GPR[m_Opcode.rt].DW >> (_GPR[m_Opcode.rs].UW[0] & 0x1F));
|
||||||
}
|
}
|
||||||
|
|
||||||
void R4300iOp::SPECIAL_JR()
|
void R4300iOp::SPECIAL_JR()
|
||||||
|
|
Loading…
Reference in New Issue