mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 23:40:39 +00:00
arm64jit: Fix an integer truncation warning.
This commit is contained in:
parent
257a4fdd12
commit
092f98d313
@ -357,7 +357,8 @@ void Arm64Jit::Comp_mxc1(MIPSOpcode op)
|
||||
|
||||
case 4: //FI(fs) = R(rt); break; //mtc1
|
||||
if (gpr.IsImm(rt)) {
|
||||
uint32_t ival = gpr.GetImm(rt);
|
||||
// This can't be run on LO/HI.
|
||||
uint32_t ival = (uint32_t)gpr.GetImm(rt);
|
||||
float floatval;
|
||||
memcpy(&floatval, &ival, sizeof(floatval));
|
||||
uint8_t imm8;
|
||||
|
Loading…
Reference in New Issue
Block a user