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

Function Sync

src/boards/117.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37static void Sync(void) {
38 setprg8(0x8000, prgreg[0]);
39 setprg8(0xa000, prgreg[1]);
40 setprg8(0xc000, prgreg[2]);
41 setprg8(0xe000, prgreg[3]);
42 int i;
43 for (i = 0; i < 8; i++)
44 setchr1(i << 10, chrreg[i]);
45 setmirror(mirror ^ 1);
46}
47
48static DECLFW(M117Write) {
49 if (A < 0x8004) {

Callers 3

DECLFWFunction · 0.70
M117PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 3

setprg8Function · 0.85
setchr1Function · 0.85
setmirrorFunction · 0.85

Tested by

no test coverage detected