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

Function Sync

src/boards/225.cpp:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45static void Sync(void) {
46 if (mode) {
47 setprg16(0x8000, prg);
48 setprg16(0xC000, prg);
49 }
50 else
51 setprg32(0x8000, prg >> 1);
52 setchr8(chr);
53 setmirror(mirr ^ 1);
54}
55
56static DECLFW(M225Write) {
57 uint8 bank = (A >> 14) & 1;

Callers 4

DECLFWFunction · 0.70
M225PowerFunction · 0.70
M225ResetFunction · 0.70
StateRestoreFunction · 0.70

Calls 4

setprg16Function · 0.85
setprg32Function · 0.85
setchr8Function · 0.85
setmirrorFunction · 0.85

Tested by

no test coverage detected