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

Function Sync

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

Source from the content-addressed store, hash-verified

31};
32
33static void Sync(void) {
34 setprg2r(0x10, 0x6800, 0);
35 setprg8(0x8000, regs[0]);
36 setprg8(0xA000, regs[1]);
37 setprg8(0xC000, regs[2]);
38 setprg8(0xE000, regs[3]);
39 setchr2(0x0000, regs[4]);
40 setchr2(0x0800, regs[5]);
41 setchr2(0x1000, regs[6]);
42 setchr2(0x1800, regs[7]);
43}
44
45static DECLFW(M246Write) {
46 regs[A & 7] = V;

Callers 3

DECLFWFunction · 0.70
M246PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 3

setprg2rFunction · 0.85
setprg8Function · 0.85
setchr2Function · 0.85

Tested by

no test coverage detected