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

Function Sync

src/boards/65.cpp:39–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39static void Sync(void) {
40 setmirror(mirr);
41 setprg8(0x8000, preg[0]);
42 setprg8(0xA000, preg[1]);
43 setprg8(0xC000, preg[2]);
44 setprg8(0xE000, ~0);
45 setchr1(0x0000, creg[0]);
46 setchr1(0x0400, creg[1]);
47 setchr1(0x0800, creg[2]);
48 setchr1(0x0C00, creg[3]);
49 setchr1(0x1000, creg[4]);
50 setchr1(0x1400, creg[5]);
51 setchr1(0x1800, creg[6]);
52 setchr1(0x1C00, creg[7]);
53 setmirror(mirr);
54}
55
56static DECLFW(M65Write) {
57 switch (A) {

Callers 3

DECLFWFunction · 0.70
M65PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 3

setmirrorFunction · 0.85
setprg8Function · 0.85
setchr1Function · 0.85

Tested by

no test coverage detected