PowerPC: Fix bad copypaste in LookupTLBPageAddress

Fixes https://bugs.dolphin-emu.org/issues/12611.
This commit is contained in:
JosJuice 2021-08-06 18:03:54 +02:00
parent 857d1c399d
commit 37b218b344
1 changed files with 1 additions and 1 deletions

View File

@ -1282,7 +1282,7 @@ static TLBLookupResult LookupTLBPageAddress(const XCheckTLBFlag flag, const u32
if (tlbe.tag[1] == tag) if (tlbe.tag[1] == tag)
{ {
UPTE2 PTE2; UPTE2 PTE2;
PTE2.Hex = tlbe.pte[0]; PTE2.Hex = tlbe.pte[1];
// Check if C bit requires updating // Check if C bit requires updating
if (flag == XCheckTLBFlag::Write) if (flag == XCheckTLBFlag::Write)