MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GIFchain

Function GIFchain

pcsx2/Gif.cpp:341–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341static __fi void GIFchain()
342{
343 tDMA_TAG* pMem;
344
345 pMem = dmaGetAddr(gifch.madr, false);
346 if (pMem == NULL)
347 {
348 // Must increment madr and clear qwc, else it loops
349 gifch.madr += gifch.qwc * 16;
350 gifch.qwc = 0;
351 Console.Warning("Hackfix - NULL GIFchain");
352 return;
353 }
354
355 const int transferred = WRITERING_DMA((u32*)pMem, gifch.qwc);
356 gif.gscycles += transferred * BIAS;
357
358 if (!gifUnit.Path3Masked() || (gif_fifo.fifoSize < 16))
359 GifDMAInt(gif.gscycles);
360}
361
362static __fi bool checkTieBit(tDMA_TAG*& ptag)
363{

Callers 1

GIFdmaFunction · 0.85

Calls 5

dmaGetAddrFunction · 0.85
WRITERING_DMAFunction · 0.85
GifDMAIntFunction · 0.85
Path3MaskedMethod · 0.80
WarningMethod · 0.45

Tested by

no test coverage detected