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

Function Sync

src/boards/156.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34};
35
36static void Sync(void) {
37 uint32 i;
38 for (i = 0; i < 8; i++)
39 setchr1(i << 10, chrlo[i] | (chrhi[i] << 8));
40 setprg8r(0x10, 0x6000, 0);
41 setprg16(0x8000, prg);
42 setprg16(0xC000, ~0);
43 if (mirrisused)
44 setmirror(mirr ^ 1);
45 else
46 setmirror(MI_0);
47}
48
49static DECLFW(M156Write) {
50 switch (A) {

Callers 3

DECLFWFunction · 0.70
M156PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 4

setchr1Function · 0.85
setprg8rFunction · 0.85
setprg16Function · 0.85
setmirrorFunction · 0.85

Tested by

no test coverage detected