mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-21 12:41:09 +00:00
Added the HID2.WPE condition to dcbz. Fixes issue 5114.
This commit is contained in:
parent
20a4735b4d
commit
ea2e0e9063
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user