mirror of https://github.com/PCSX2/pcsx2.git
Fixed a small VIF FIFO error on my part, and clarified the clarification on vif direction ;p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2882 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
4582b281c1
commit
912a90a605
|
@ -259,7 +259,7 @@ _f void vif1STAT(u32 value) {
|
|||
// As far as the GS is concerned, the transfer starts as soon as TRXREG is accessed, which is why fatal frame
|
||||
// was expecting data, the GS should already be sending it over (buffering in the FIFO)
|
||||
|
||||
vif1Regs->stat.FQC = max((u32)16, vif1.GSLastTRXPOS);
|
||||
vif1Regs->stat.FQC = min((u32)16, vif1.GSLastTRXPOS);
|
||||
//Console.Warning("Reversing VIF Transfer for %x QWC", vif1.GSLastTRXPOS);
|
||||
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ __forceinline void vif1FLUSH()
|
|||
g_vifCycles += (VU1.cycle - _cycles) * BIAS;
|
||||
}
|
||||
|
||||
void vif1TransferFromMemory()
|
||||
void vif1TransferToMemory()
|
||||
{
|
||||
int size;
|
||||
u64* pMem = (u64*)dmaGetAddr(vif1ch->madr);
|
||||
|
@ -102,7 +102,7 @@ bool _VIF1chain()
|
|||
// Clarification - this is TO memory mode, for some reason i used the other way round >.<
|
||||
if (vif1.dmamode == VIF_NORMAL_TO_MEM_MODE)
|
||||
{
|
||||
vif1TransferFromMemory();
|
||||
vif1TransferToMemory();
|
||||
vif1.inprogress = 0;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue