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

Function Sync

src/boards/lh53.cpp:39–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39static void Sync(void) {
40 setchr8(0);
41 setprg8(0x6000, reg);
42 setprg8(0x8000, 0xc);
43 setprg4(0xa000, (0xd << 1));
44 setprg2(0xb000, (0xd << 2) + 2);
45 setprg2r(0x10, 0xb800, 4);
46 setprg2r(0x10, 0xc000, 5);
47 setprg2r(0x10, 0xc800, 6);
48 setprg2r(0x10, 0xd000, 7);
49 setprg2(0xd800, (0xe << 2) + 3);
50 setprg8(0xe000, 0xf);
51}
52
53static DECLFW(LH53RamWrite) {
54 WRAM[(A - 0xB800) & 0x1FFF] = V;

Callers 3

DECLFWFunction · 0.70
LH53PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 5

setchr8Function · 0.85
setprg8Function · 0.85
setprg4Function · 0.85
setprg2Function · 0.85
setprg2rFunction · 0.85

Tested by

no test coverage detected