mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Check if BP and XF changes actually change values before flushing
This commit is contained in:
@ -128,7 +128,17 @@ void BPWritten(const BPCmd& bp)
|
||||
FlushPipeline();
|
||||
}
|
||||
} // END ZTP SPEEDUP HACK
|
||||
else FlushPipeline();
|
||||
else
|
||||
{
|
||||
if (((s32*)&bpmem)[bp.address] != bp.newvalue)
|
||||
{
|
||||
FlushPipeline();
|
||||
}
|
||||
else if (bp.address == BPMEM_TRIGGER_EFB_COPY
|
||||
|| bp.address == BPMEM_CLEARBBOX1
|
||||
|| bp.address == BPMEM_CLEARBBOX2)
|
||||
FlushPipeline();
|
||||
}
|
||||
|
||||
((u32*)&bpmem)[bp.address] = bp.newvalue;
|
||||
|
||||
|
Reference in New Issue
Block a user