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

Function Sync

src/boards/vrc1.cpp:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35static void Sync(void) {
36 setprg8(0x8000, preg[0]);
37 setprg8(0xA000, preg[1]);
38 setprg8(0xC000, preg[2]);
39 setprg8(0xE000, ~0);
40 setchr4(0x0000, creg[0] | ((mode & 2) << 3));
41 setchr4(0x1000, creg[1] | ((mode & 4) << 2));
42 setmirror((mode & 1) ^ 1);
43}
44
45static DECLFW(M75Write) {
46 switch (A & 0xF000) {

Callers 3

DECLFWFunction · 0.70
M75PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 3

setprg8Function · 0.85
setchr4Function · 0.85
setmirrorFunction · 0.85

Tested by

no test coverage detected