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

Function Sync

src/boards/206.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31};
32
33static void Sync(void) {
34 setchr2(0x0000, DRegs[0]);
35 setchr2(0x0800, DRegs[1]);
36 int x;
37 for (x = 0; x < 4; x++)
38 setchr1(0x1000 + (x << 10), DRegs[2 + x]);
39 setprg8(0x8000, DRegs[6]);
40 setprg8(0xa000, DRegs[7]);
41 setprg8(0xc000, ~1);
42 setprg8(0xe000, ~0);
43}
44
45static void StateRestore(int version) {
46 Sync();

Callers 3

StateRestoreFunction · 0.70
DECLFWFunction · 0.70
M206PowerFunction · 0.70

Calls 3

setchr2Function · 0.85
setchr1Function · 0.85
setprg8Function · 0.85

Tested by

no test coverage detected