mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Added the HID2.WPE condition to dcbz. Fixes issue 5114.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user