Core: fix srav in the interpter

This commit is contained in:
zilmar 2022-09-05 17:42:15 +09:30
parent e171adfef6
commit 524f56eda7
1 changed files with 1 additions and 1 deletions

View File

@ -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()