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

Function Sync

src/boards/151.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29};
30
31static void Sync(void) {
32 setprg8(0x8000, regs[0]);
33 setprg8(0xA000, regs[2]);
34 setprg8(0xC000, regs[4]);
35 setprg8(0xE000, ~0);
36 setchr4(0x0000, regs[6]);
37 setchr4(0x1000, regs[7]);
38}
39
40static DECLFW(M151Write) {
41 regs[(A >> 12) & 7] = V;

Callers 3

DECLFWFunction · 0.70
M151PowerFunction · 0.70
StateRestoreFunction · 0.70

Calls 2

setprg8Function · 0.85
setchr4Function · 0.85

Tested by

no test coverage detected