[Core] Clean up some warnings
This commit is contained in:
parent
5a49331c0b
commit
de366db6c1
|
@ -875,8 +875,8 @@ void CMipsMemoryVM::TLB_Unmaped(uint32_t Vaddr, uint32_t Len)
|
|||
size_t Index = Address >> 12;
|
||||
m_MemoryReadMap[Index] = (size_t)-1;
|
||||
m_MemoryWriteMap[Index] = (size_t)-1;
|
||||
m_TLB_ReadMap[Index] = -1;
|
||||
m_TLB_WriteMap[Index] = -1;
|
||||
m_TLB_ReadMap[Index] = (uint32_t)-1;
|
||||
m_TLB_WriteMap[Index] = (uint32_t)-1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -211,7 +211,7 @@ void CArmRecompilerOps::Compile_Branch(BRANCH_COMPARE CompareType, BRANCH_TYPE B
|
|||
case BranchTypeRsRt: EffectDelaySlot = DelaySlotEffectsCompare(m_CompilePC, m_Opcode.rs, m_Opcode.rt); break;
|
||||
case BranchTypeCop1:
|
||||
|
||||
if (!g_MMU->LW_VAddr(m_CompilePC + 4, Command.Hex))
|
||||
if (!g_MMU->MemoryValue32(m_CompilePC + 4, Command.Hex))
|
||||
{
|
||||
g_Notify->FatalError(GS(MSG_FAIL_LOAD_WORD));
|
||||
}
|
||||
|
@ -5847,7 +5847,7 @@ void CArmRecompilerOps::SetCurrentPC(uint32_t ProgramCounter)
|
|||
m_CompilePC = ProgramCounter;
|
||||
__except_try()
|
||||
{
|
||||
if (!g_MMU->LW_VAddr(m_CompilePC, m_Opcode.Hex))
|
||||
if (!g_MMU->MemoryValue32(m_CompilePC, m_Opcode.Hex))
|
||||
{
|
||||
g_Notify->FatalError(GS(MSG_FAIL_LOAD_WORD));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue