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

Function dmaSPR0

pcsx2/SPR.cpp:328–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void dmaSPR0() // fromSPR
329{
330 SPR_LOG("dmaSPR0 chcr = %lx, madr = %lx, qwc = %lx, sadr = %lx",
331 spr0ch.chcr._u32, spr0ch.madr, spr0ch.qwc, spr0ch.sadr);
332
333
334 spr0finished = false; //Init
335
336 if(spr0ch.chcr.MOD == CHAIN_MODE && spr0ch.qwc > 0)
337 {
338 //DevCon.Warning(L"SPR0 QWC on Chain " + spr0ch.chcr.desc());
339 if (spr0ch.chcr.tag().ID == TAG_END) // But not TAG_REFE?
340 { // correct not REFE, Destination Chain doesnt have REFE!
341 spr0finished = true;
342 }
343 }
344
345 SPRFROMinterrupt();
346}
347
348__fi static void SPR1transfer(const void* data, int qwc)
349{

Callers

nothing calls this directly

Calls 1

SPRFROMinterruptFunction · 0.85

Tested by

no test coverage detected