Compare commits

...
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -354,6 +354,9 @@ static __fi void GIFchain()
const int transferred = WRITERING_DMA((u32*)pMem, gifch.qwc);
gif.gscycles += transferred * BIAS;
if (transferred > 16) // Assume we're going past the fast 16qw FIFO and in to the 2x slower 64bit FIFO.
g_vif1Cycles += (transferred - 16) *BIAS;
if (!gifUnit.Path3Masked() || (gif_fifo.fifoSize < 16))
GifDMAInt(gif.gscycles);
+1
View File
@@ -158,6 +158,7 @@ __fi int _vifCode_Direct(int pass, const u8* data, bool isDirectHL)
vif1.tag.size -= ret / 4; // Convert to u32's
vif1Regs.stat.VGW = false;
g_vif1Cycles += ((ret >> 3) * BIAS); // Add extra backpressure to the VIF (we do QW * BIAS for VIF, so double that)
if (ret & 3)
DevCon.Warning("Vif %s: Ret wasn't a multiple of 4!", name); // Shouldn't happen