Merge pull request #10001 from JosJuice/pte-1

PowerPC: Fix bad copypaste in LookupTLBPageAddress
This commit is contained in:
Mai M 2021-08-06 12:53:49 -04:00 committed by GitHub
commit 67c06cfc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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