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

Function Sync

src/boards/68.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69static void Sync(void) {
70 setchr2(0x0000, chr_reg[0]);
71 setchr2(0x0800, chr_reg[1]);
72 setchr2(0x1000, chr_reg[2]);
73 setchr2(0x1800, chr_reg[3]);
74 setprg8r(0x10, 0x6000, 0);
75 setprg16r((PRGptr[1]) ? kogame : 0, 0x8000, prg_reg);
76 setprg16(0xC000, ~0);
77}
78
79static DECLFR(M68Read) {
80 if (!(kogame & 8)) {

Callers 3

DECLFWFunction · 0.70
M68PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 4

setchr2Function · 0.85
setprg8rFunction · 0.85
setprg16rFunction · 0.85
setprg16Function · 0.85

Tested by

no test coverage detected