Core: fix issue with R4300iOp::SPECIAL_SRA

This commit is contained in:
zilmar 2022-08-01 10:03:06 +09:30
parent d37d0dc7a5
commit d6a217ca86
1 changed files with 1 additions and 1 deletions

View File

@ -1292,7 +1292,7 @@ void R4300iOp::SPECIAL_SRL()
void R4300iOp::SPECIAL_SRA()
{
_GPR[m_Opcode.rd].DW = (_GPR[m_Opcode.rt].W[0] >> m_Opcode.sa);
_GPR[m_Opcode.rd].DW = (int32_t)(_GPR[m_Opcode.rt].DW >> m_Opcode.sa);
}
void R4300iOp::SPECIAL_SLLV()