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

Function Sync

src/boards/dance2000.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34};
35
36static void Sync(void) {
37 setmirror((mode ^ 1) & 1);
38 setprg8r(0x10, 0x6000, 0);
39 setchr4(0x0000, lastnt);
40 setchr4(0x1000, 1);
41 if (mode & 4)
42 setprg32(0x8000, prg & 7);
43 else {
44 setprg16(0x8000, prg & 0x0f);
45 setprg16(0xC000, 0);
46 }
47}
48
49static DECLFW(UNLD2000Write) {
50 switch (A) {

Callers 3

DECLFWFunction · 0.70
UNLD2000PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 5

setmirrorFunction · 0.85
setprg8rFunction · 0.85
setchr4Function · 0.85
setprg32Function · 0.85
setprg16Function · 0.85

Tested by

no test coverage detected