iR5900: Use a signed multiply for MULT1 const prop

This commit is contained in:
Connor McLaughlin 2021-08-14 12:56:17 +10:00 committed by Kojin
parent 1180de51fd
commit a216f28c9d
1 changed files with 2 additions and 2 deletions

View File

@ -254,9 +254,9 @@ EERECOMPILE_CODE0(MULTU, XMMINFO_READS|XMMINFO_READT|(_Rd_?XMMINFO_WRITED:0));
////////////////////////////////////////////////////
void recMULT1_const()
{
u64 res = (u64)g_cpuConstRegs[_Rs_].UL[0] * (u64)g_cpuConstRegs[_Rt_].UL[0];
s64 res = (s64)g_cpuConstRegs[_Rs_].SL[0] * (s64)g_cpuConstRegs[_Rt_].SL[0];
recWritebackConstHILO(res, 1, 1);
recWritebackConstHILO((u64)res, 1, 1);
}
void recMULT1_(int info)