Cleaned up a couple of Path3 Masking bugs which stood out, might fix some of the remaining glitches

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2929 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
refraction 2010-04-30 12:14:35 +00:00
parent 26e3038683
commit 69d08baef6
4 changed files with 7 additions and 8 deletions

View File

@ -239,11 +239,11 @@ void GIFdma()
//Check with Path3 masking games
if (gif->qwc > 0) {
GIF_LOG("PTH3 MASK Transferring");
GIFchain();
CPU_INT(DMAC_GIF, gscycles * BIAS);
return;
}
//else DevCon.WriteLn("GIFdma() case 1, but qwc = 0!"); //Don't do 0 GIFchain and then return
GIFchain();
}//else DevCon.WriteLn("GIFdma() case 1, but qwc = 0!"); //Don't do 0 GIFchain and then return
CPU_INT(DMAC_GIF, gscycles * BIAS);
return;
}
// Transfer Dn_QWC from Dn_MADR to GIF

View File

@ -220,7 +220,7 @@ __forceinline void vif1Interrupt()
gifRegs->stat.clear_flags(GIF_STAT_APATH2|GIF_STAT_OPH);
}
if (schedulepath3msk) Vif1MskPath3();
if (schedulepath3msk & 0x10) Vif1MskPath3();
if ((vif1Regs->stat.VGW))
{

View File

@ -222,7 +222,7 @@ void vifMFIFOInterrupt()
g_vifCycles = 0;
VIF_LOG("vif mfifo interrupt");
if (schedulepath3msk) Vif1MskPath3();
if (schedulepath3msk & 0x10) Vif1MskPath3();
if ((vif1Regs->stat.VGW))
{

View File

@ -85,7 +85,6 @@ void Vif1MskPath3() {
}
}
else gifRegs->stat.M3P = true;
schedulepath3msk = 0;
}