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

Function ReadTag

pcsx2/Gif.cpp:373–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373static __fi tDMA_TAG* ReadTag()
374{
375 tDMA_TAG* ptag = dmaGetAddr(gifch.tadr, false); // Set memory pointer to TADR
376
377 if (!(gifch.transfer("Gif", ptag)))
378 return NULL;
379
380 gifch.madr = ptag[1]._u32; // MADR = ADDR field + SPR
381 gif.gscycles += 2; // Add 1 cycles from the QW read for the tag
382
383 gif.gspath3done = hwDmacSrcChainWithStack(gifch, ptag->ID);
384 return ptag;
385}
386
387void GIFdma()
388{

Callers 1

GIFdmaFunction · 0.85

Calls 3

dmaGetAddrFunction · 0.85
hwDmacSrcChainWithStackFunction · 0.85
transferMethod · 0.80

Tested by

no test coverage detected