mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
TLB: fix backwards exception check
This commit is contained in:
parent
22209bcc62
commit
a4c6cf85e9
@ -754,7 +754,7 @@ static u32 LookupTLBPageAddress(const XCheckTLBFlag _Flag, const u32 vpa, u32 *p
|
||||
|
||||
static void UpdateTLBEntry(const XCheckTLBFlag _Flag, UPTE2 PTE2, const u32 vpa)
|
||||
{
|
||||
if (_Flag != FLAG_NO_EXCEPTION)
|
||||
if (_Flag == FLAG_NO_EXCEPTION)
|
||||
return;
|
||||
|
||||
tlb_entry *tlbe = tlb[_Flag == FLAG_OPCODE][(vpa>>HW_PAGE_INDEX_SHIFT)&HW_PAGE_INDEX_MASK];
|
||||
|
Loading…
Reference in New Issue
Block a user