mirror of https://github.com/PCSX2/pcsx2.git
Refixed Growlanser, also took out an IF which shouldn't have been in there.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2971 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
f288a166d3
commit
f5ca7a7a55
|
@ -213,7 +213,7 @@ __forceinline void vif1Interrupt()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (vif1ch->chcr.DIR) vif1Regs->stat.FQC = min(vif1ch->qwc, (u16)16);
|
vif1Regs->stat.FQC = min(vif1ch->qwc, (u16)16);
|
||||||
//Simulated GS transfer time done, clear the flags
|
//Simulated GS transfer time done, clear the flags
|
||||||
if(gifRegs->stat.APATH == GIF_APATH2 && (vif1.cmd & 0x70) != 0x50)
|
if(gifRegs->stat.APATH == GIF_APATH2 && (vif1.cmd & 0x70) != 0x50)
|
||||||
{
|
{
|
||||||
|
@ -298,7 +298,10 @@ __forceinline void vif1Interrupt()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
vif1Regs->stat.VPS = VPS_IDLE; //Vif goes idle as the stall happened between commands;
|
vif1Regs->stat.VPS = VPS_IDLE; //Vif goes idle as the stall happened between commands;
|
||||||
if(gifRegs->stat.OPH == true && vif1Regs->stat.FQC == 0) gifRegs->stat.OPH = false;
|
if((vif1ch->chcr.DIR == VIF_NORMAL_TO_MEM_MODE) && (vif1Regs->stat.FQC == 0))
|
||||||
|
{ //Reverse fifo has finished and nothing is left, so lets clear the outputting flag
|
||||||
|
gifRegs->stat.OPH = false;
|
||||||
|
}
|
||||||
vif1ch->chcr.STR = false;
|
vif1ch->chcr.STR = false;
|
||||||
g_vifCycles = 0;
|
g_vifCycles = 0;
|
||||||
VIF_LOG("VIF1 End");
|
VIF_LOG("VIF1 End");
|
||||||
|
|
Loading…
Reference in New Issue