diff --git a/Core/MIPS/ARM/ArmCompFPU.cpp b/Core/MIPS/ARM/ArmCompFPU.cpp index a116c715d..3b7b8cef8 100644 --- a/Core/MIPS/ARM/ArmCompFPU.cpp +++ b/Core/MIPS/ARM/ArmCompFPU.cpp @@ -56,10 +56,10 @@ void Jit::Comp_FPU3op(u32 op) case 2: { //F(fd) = F(fs) * F(ft); //mul u32 nextOp = Memory::Read_Instruction(js.compilerPC + 4); // Optimise possible if destination is the same - if (fd == ((nextOp>>6) & 0x1F)) { + if (fd == (int)((nextOp>>6) & 0x1F)) { // VMUL + VNEG -> VNMUL if (!strcmp(MIPSGetName(nextOp), "neg.s")) { - if (fd == ((nextOp>>11) & 0x1F)) { + if (fd == (int)((nextOp>>11) & 0x1F)) { VNMUL(fpr.R(fd), fpr.R(fs), fpr.R(ft)); EatInstruction(nextOp); } diff --git a/Core/MIPS/JitCommon/JitBlockCache.cpp b/Core/MIPS/JitCommon/JitBlockCache.cpp index d626ad553..6c2829246 100644 --- a/Core/MIPS/JitCommon/JitBlockCache.cpp +++ b/Core/MIPS/JitCommon/JitBlockCache.cpp @@ -329,7 +329,7 @@ void JitBlockCache::DestroyBlock(int block_num, bool invalidate) return; } b.invalid = true; - if ((int)Memory::ReadUnchecked_U32(b.originalAddress) == GetEmuHackOpForBlock(block_num)) + if (Memory::ReadUnchecked_U32(b.originalAddress) == GetEmuHackOpForBlock(block_num)) Memory::WriteUnchecked_U32(b.originalFirstOpcode, b.originalAddress); b.normalEntry = 0;