IPU: Stop IPU0 looping when there's no data for it to read

Fixes bad slowdowns in Ratchet games when using EE Timing fix caused by bad IPU streams
This commit is contained in:
refractionpcsx2 2020-12-03 17:53:02 +00:00
parent d0dd60f295
commit 378eccc6ea
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,8 @@ int IPU_Fifo_Output::write(const u32 *value, uint size)
--transsize; --transsize;
} }
/*} while(true);*/ /*} while(true);*/
if(ipu0ch.chcr.STR)
IPU_INT_FROM(64);
return origsize - size; return origsize - size;
} }

View File

@ -196,7 +196,6 @@ void IPU0dma()
{ {
if(!ipuRegs.ctrl.OFC) if(!ipuRegs.ctrl.OFC)
{ {
IPU_INT_FROM( 64 );
IPUProcessInterrupt(); IPUProcessInterrupt();
return; return;
} }