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

Function Sync

src/boards/88.cpp:34–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34static void Sync(void) {
35 setchr2(0x0000, reg[0] >> 1);
36 setchr2(0x0800, reg[1] >> 1);
37 setchr1(0x1000, reg[2] | 0x40);
38 setchr1(0x1400, reg[3] | 0x40);
39 setchr1(0x1800, reg[4] | 0x40);
40 setchr1(0x1C00, reg[5] | 0x40);
41 setprg8(0x8000, reg[6]);
42 setprg8(0xA000, reg[7]);
43 setprg8(0xC000, ~1);
44 setprg8(0xE000, ~0);
45}
46
47static void MSync(void) {
48 if (is154) setmirror(MI_0 + (mirror & 1));

Callers 3

DECLFWFunction · 0.70
M88PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 3

setchr2Function · 0.85
setchr1Function · 0.85
setprg8Function · 0.85

Tested by

no test coverage detected