mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
bc4ec92600
commit
098640b06a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue