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

Function Sync

src/boards/sc-127.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39static void Sync(void) {
40 int i;
41 setprg8r(0x10, 0x6000, 0);
42 setprg8(0x8000, reg[0]);
43 setprg8(0xA000, reg[1]);
44 setprg8(0xC000, reg[2]);
45 setprg8(0xE000, ~0);
46 for (i = 0; i < 8; i++)
47 setchr1(i << 10, chr[i]);
48 setmirror(reg[3] ^ 1);
49}
50
51static DECLFW(UNLSC127Write) {
52 switch (A) {

Callers 3

DECLFWFunction · 0.70
UNLSC127PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 4

setprg8rFunction · 0.85
setprg8Function · 0.85
setchr1Function · 0.85
setmirrorFunction · 0.85

Tested by

no test coverage detected