Added the HID2.WPE condition to dcbz. Fixes issue 5114.

This commit is contained in:
skidau 2012-02-04 13:25:04 +11:00
parent 20a4735b4d
commit ea2e0e9063

View File

@ -401,7 +401,7 @@ void Interpreter::dcbtst(UGeckoInstruction _inst)
void Interpreter::dcbz(UGeckoInstruction _inst) void Interpreter::dcbz(UGeckoInstruction _inst)
{ {
// HACK but works... we think // HACK but works... we think
if (!HID0.DCFA) if (HID2.WPE || !HID0.DCFA)
Memory::Memset(Helper_Get_EA_X(_inst) & (~31), 0, 32); Memory::Memset(Helper_Get_EA_X(_inst) & (~31), 0, 32);
} }