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

Function M246Power

src/boards/246.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static void M246Power(void) {
51 regs[0] = regs[1] = regs[2] = regs[3] = ~0;
52 Sync();
53 SetWriteHandler(0x6000, 0x67FF, M246Write);
54 SetReadHandler(0x6800, 0x6FFF, CartBR);
55 SetWriteHandler(0x6800, 0x6FFF, CartBW);
56 SetReadHandler(0x8000, 0xFFFF, CartBR);
57 FCEU_CheatAddRAM(WRAMSIZE >> 10, 0x6000, WRAM);
58}
59
60static void M246Close(void)
61{

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected