Path3: Stopped Path3 looping when MskPath3 is enabled, reduces the amount the recompiler has to exit, yeilding a small speed boost (but it is really small!)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5245 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2012-05-30 18:43:02 +00:00
parent bc4ec92600
commit 098640b06a
1 changed files with 8 additions and 3 deletions

View File

@ -57,8 +57,10 @@ __fi void gifInterrupt()
if(vif1Regs.stat.VGW)
{
CPU_INT(DMAC_GIF, 16);
return;
if(!gifUnit.Path3Masked())
CPU_INT(DMAC_GIF, 16);
if(!gspath3done || gifch.qwc > 0) return;
}
}
@ -168,7 +170,10 @@ static __fi tDMA_TAG* ReadTag2()
bool CheckPaths(EE_EventType Channel) {
// Can't do Path 3, so try dma again later...
if(!gifUnit.CanDoPath3()) {
CPU_INT(Channel, 128);
if(!gifUnit.Path3Masked())
{
CPU_INT(Channel, 128);
}
return false;
}
return true;