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

Function M99Power

src/boards/99.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47static void M99Power(void) {
48 latch = 0;
49 Sync();
50 old4016 = GetWriteHandler(0x4016);
51 SetWriteHandler(0x4016, 0x4016, M99Write);
52 SetReadHandler(0x6000, 0xFFFF, CartBR);
53 SetWriteHandler(0x6000, 0x7FFF, CartBW);
54 FCEU_CheatAddRAM(WRAMSIZE >> 10, 0x6000, WRAM);
55}
56
57static void M99Close(void)
58{

Callers

nothing calls this directly

Calls 5

GetWriteHandlerFunction · 0.85
SetWriteHandlerFunction · 0.85
SetReadHandlerFunction · 0.85
FCEU_CheatAddRAMFunction · 0.85
SyncFunction · 0.70

Tested by

no test coverage detected