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

Function MPower

src/boards/185.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static void MPower(void) {
65 datareg = 0;
66 Sync();
67 setprg16(0x8000, 0);
68 setprg16(0xC000, ~0);
69 SetWriteHandler(0x8000, 0xFFFF, MWrite);
70 SetReadHandler(0x8000, 0xFFFF, CartBR);
71}
72
73static void MClose(void) {
74 if (DummyCHR)

Callers

nothing calls this directly

Calls 4

setprg16Function · 0.85
SetWriteHandlerFunction · 0.85
SetReadHandlerFunction · 0.85
SyncFunction · 0.70

Tested by

no test coverage detected