MCPcopy Create free account
hub / github.com/TASEmulators/fceux / setchr8r

Function setchr8r

src/cart.cpp:262–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void setchr8r(int r, uint32 V) {
263 int x;
264
265 if (!CHRptr[r]) return;
266 FCEUPPU_LineUpdate();
267 V &= CHRmask8[r];
268 for (x = 7; x >= 0; x--)
269 VPageR[x] = &CHRptr[r][V << 13];
270 if (CHRram[r])
271 PPUCHRRAM |= (255);
272 else
273 PPUCHRRAM = 0;
274}
275
276void setchr1(uint32 A, uint32 V) {
277 setchr1r(0, A, V);

Callers 8

setchr8Function · 0.85
Sync185Function · 0.85
Sync181Function · 0.85
SyncFunction · 0.85
NWCPowerFunction · 0.85
MSHCWFunction · 0.85
SyncFunction · 0.85
M29SyncFunction · 0.85

Calls 1

FCEUPPU_LineUpdateFunction · 0.85

Tested by

no test coverage detected