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

Function SPR1transfer

pcsx2/SPR.cpp:348–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348__fi static void SPR1transfer(const void* data, int qwc)
349{
350 if ((spr1ch.madr >= 0x11000000) && (spr1ch.madr < 0x11010000))
351 {
352 TestClearVUs(spr1ch.madr, spr1ch.qwc, false);
353 }
354
355 memcpy_to_spr(spr1ch.sadr, (u8*)data, qwc*16);
356 spr1ch.sadr += qwc * 16;
357 spr1ch.sadr &= 0x3FFF; // Limited to 16K
358}
359
360
361

Callers 2

_SPR1chainFunction · 0.85
_dmaSPR1Function · 0.85

Calls 2

TestClearVUsFunction · 0.85
memcpy_to_sprFunction · 0.85

Tested by

no test coverage detected