mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
arm64jit: Fix an integer truncation warning.
This commit is contained in:
parent
257a4fdd12
commit
092f98d313
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue