iR5900: Make const register write clearer

This was apparently sign extending anyway, but using SD makes it clear
that the 32-bit assignment will sign extend to 64-bit.
This commit is contained in:
Connor McLaughlin authored and Kojin committed 2021-08-17 14:43:24 -04:00
1 parent a216f28c9d
commit d7de81aaaa
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ void recWritebackConstHILO(u64 res, int writed, int upper)
}
if (!writed || !_Rd_) return;
g_cpuConstRegs[_Rd_].UD[0] = (s32)(res & 0xffffffff); //that is the difference
g_cpuConstRegs[_Rd_].SD[0] = (s32)(res & 0xffffffffULL); //that is the difference
}
//// MULT