VU: Only wait for VU sync after wait macro if VU0 still running

Makes Tekken Tag a good 2-4 FPS faster.
This commit is contained in:
refractionpcsx2 2021-09-25 01:51:19 +01:00
parent 2406ae6e07
commit f7bcb92d9a
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ __fi void _vu0run(bool breakOnMbit, bool addCycles) {
{
cpuRegs.cycle += (VU0.cycle - startcycle);
CpuVU1->ExecuteBlock(0); // Catch up VU1 as it's likely fallen behind
cpuSetNextEventDelta(4);
if(VU0.VI[REG_VPU_STAT].UL & 1)
cpuSetNextEventDelta(4);
}
}