mirror of https://github.com/PCSX2/pcsx2.git
Another minor modification for reverse FIFO
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2975 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
a8b7c03845
commit
b552c1fdc2
|
@ -111,14 +111,11 @@ void vif1TransferToMemory()
|
|||
{
|
||||
vif1.GSLastDownloadSize -= vif1ch->qwc;
|
||||
vif1Regs->stat.FQC = min((u32)16, vif1.GSLastDownloadSize);
|
||||
if (vif1.GSLastDownloadSize <= 16)
|
||||
gifRegs->stat.OPH = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
vif1Regs->stat.FQC = 0;
|
||||
vif1.GSLastDownloadSize = 0;
|
||||
gifRegs->stat.OPH = false;
|
||||
}
|
||||
|
||||
vif1ch->qwc = 0;
|
||||
|
@ -334,7 +331,7 @@ __forceinline void vif1Interrupt()
|
|||
#endif
|
||||
|
||||
vif1Regs->stat.VPS = VPS_IDLE; //Vif goes idle as the stall happened between commands;
|
||||
if((vif1ch->chcr.DIR == VIF_NORMAL_TO_MEM_MODE) && (vif1Regs->stat.FQC == 0))
|
||||
if((vif1ch->chcr.DIR == VIF_NORMAL_TO_MEM_MODE) && vif1.GSLastDownloadSize <= 16)
|
||||
{ //Reverse fifo has finished and nothing is left, so lets clear the outputting flag
|
||||
gifRegs->stat.OPH = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue