Merge pull request #10001 from JosJuice/pte-1

PowerPC: Fix bad copypaste in LookupTLBPageAddress
This commit is contained in:
Mai M authored and GitHub committed 2021-08-06 12:53:49 -04:00
commit 67c06cfc55
1 file changed
+1 -1
+1 -1
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)