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

Function Sync

src/boards/33.cpp:38–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38static void Sync(void) {
39 setmirror(mirr);
40 setprg8(0x8000, regs[0]);
41 setprg8(0xA000, regs[1]);
42 setprg8(0xC000, ~1);
43 setprg8(0xE000, ~0);
44 setchr2(0x0000, regs[2]);
45 setchr2(0x0800, regs[3]);
46 setchr1(0x1000, regs[4]);
47 setchr1(0x1400, regs[5]);
48 setchr1(0x1800, regs[6]);
49 setchr1(0x1C00, regs[7]);
50}
51
52static DECLFW(M33Write) {
53 A &= 0xF003;

Callers 4

DECLFWFunction · 0.70
M33PowerFunction · 0.70
M48PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 4

setmirrorFunction · 0.85
setprg8Function · 0.85
setchr2Function · 0.85
setchr1Function · 0.85

Tested by

no test coverage detected