| 339 | } |
| 340 | |
| 341 | static __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 | |
| 362 | static __fi bool checkTieBit(tDMA_TAG*& ptag) |
| 363 | { |
no test coverage detected