Core: Fix clang issue
This commit is contained in:
parent
542afc4514
commit
d47b49d4b5
|
@ -330,7 +330,7 @@ bool CTLB::VAddrToPAddr(uint64_t VAddr, uint32_t & PAddr, bool & MemoryUnused)
|
|||
if ((VAddr & AddressMaskHi) != AddressRegion)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
uint64_t AddressSelect = ((m_tlb[i].PageMask.Mask << 12) | 0xfff) + 1;
|
||||
COP0EntryLo EntryLo = (VAddr & AddressSelect) != 0 ? m_tlb[i].EntryLo1 : m_tlb[i].EntryLo0;
|
||||
PAddr = (uint32_t)((EntryLo.PFN << 12) + (VAddr & (PageMask | 0x1fff)));
|
||||
|
|
Loading…
Reference in New Issue