mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Fix more warnings from #579
This commit is contained in:
parent
470bfc9b0b
commit
f927af20f2
6 changed files with 11 additions and 15 deletions
|
@ -1011,7 +1011,7 @@ void DSPJitRegCache::spillXReg(X64Reg reg)
|
|||
if (xregs[reg].guest_reg <= DSP_REG_MAX_MEM_BACKED)
|
||||
{
|
||||
_assert_msg_(DSPLLE, !regs[xregs[reg].guest_reg].used,
|
||||
"to be spilled host reg %x(guest reg %x) still in use!",
|
||||
"to be spilled host reg %x(guest reg %zx) still in use!",
|
||||
reg, xregs[reg].guest_reg);
|
||||
|
||||
movToMemory(xregs[reg].guest_reg);
|
||||
|
|
|
@ -1666,7 +1666,7 @@ static void DoWriteCode(IRBuilder* ibuild, JitIL* Jit, u32 exitAddress) {
|
|||
u64 val = ibuild->GetImmValue64(I);
|
||||
if ((u32)val == val)
|
||||
Jit->MOV(32, R(reg), Imm32(val));
|
||||
else if ((s32)val == val)
|
||||
else if ((s32)val == (s64)val)
|
||||
Jit->MOV(64, R(reg), Imm32(val));
|
||||
else
|
||||
Jit->MOV(64, R(reg), Imm64(val));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue