From ea2e0e90633535112c95e999634b1bb1111a98bd Mon Sep 17 00:00:00 2001 From: skidau Date: Sat, 4 Feb 2012 13:25:04 +1100 Subject: [PATCH] Added the HID2.WPE condition to dcbz. Fixes issue 5114. --- .../Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp index b2a51b3e6f..a7955c0982 100644 --- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp +++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp @@ -401,7 +401,7 @@ void Interpreter::dcbtst(UGeckoInstruction _inst) void Interpreter::dcbz(UGeckoInstruction _inst) { // HACK but works... we think - if (!HID0.DCFA) + if (HID2.WPE || !HID0.DCFA) Memory::Memset(Helper_Get_EA_X(_inst) & (~31), 0, 32); }