From 37b218b34488381421257ffd05c8e0cbc19b6a5f Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 6 Aug 2021 18:03:54 +0200 Subject: [PATCH] PowerPC: Fix bad copypaste in LookupTLBPageAddress Fixes https://bugs.dolphin-emu.org/issues/12611. --- Source/Core/Core/PowerPC/MMU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)