diff options
| author | Mai M <mathew1800@gmail.com> | 2021-08-06 12:53:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-06 12:53:49 -0400 |
| commit | 67c06cfc55b87016b2c23e2e9a78d97feba2e324 (patch) | |
| tree | d3b1ad7e8aae3edc4cc493f89045d308d0cde811 /Source | |
| parent | 857d1c399ddeb633f9b4518308f1b688427a4897 (diff) | |
| parent | 37b218b34488381421257ffd05c8e0cbc19b6a5f (diff) | |
Merge pull request #10001 from JosJuice/pte-1
PowerPC: Fix bad copypaste in LookupTLBPageAddress
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/PowerPC/MMU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/MMU.cpp b/Source/Core/Core/PowerPC/MMU.cpp index 3c70a5319c..d076ab94e1 100644 --- a/Source/Core/Core/PowerPC/MMU.cpp +++ b/Source/Core/Core/PowerPC/MMU.cpp @@ -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) |
