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

Function CalculateFIFOCSR

pcsx2/Gif.cpp:36–50  ·  view source on GitHub ↗

I suspect this is GS side which should really be handled by GS which also doesn't current have a fifo, but we can guess from our fifo

Source from the content-addressed store, hash-verified

34
35//I suspect this is GS side which should really be handled by GS which also doesn't current have a fifo, but we can guess from our fifo
36static __fi void CalculateFIFOCSR()
37{
38 if (gifRegs.stat.FQC >= 15)
39 {
40 CSRreg.FIFO = CSR_FIFO_FULL;
41 }
42 else if (gifRegs.stat.FQC == 0)
43 {
44 CSRreg.FIFO = CSR_FIFO_EMPTY;
45 }
46 else
47 {
48 CSRreg.FIFO = CSR_FIFO_NORMAL;
49 }
50}
51
52
53bool CheckPaths()

Callers 6

write_fifoMethod · 0.85
read_fifoMethod · 0.85
gifInterruptFunction · 0.85
GIFdmaFunction · 0.85
mfifoGIFtransferFunction · 0.85
gifMFIFOInterruptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected