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

Function M34Power

src/boards/34.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61static void M34Power(void) {
62 regs[0] = regs[1] = 0;
63 regs[2] = 1;
64 Sync();
65 SetReadHandler(0x6000, 0x7ffc, CartBR);
66 SetWriteHandler(0x6000, 0x7ffc, CartBW);
67 SetReadHandler(0x8000, 0xffff, CartBR);
68 SetWriteHandler(0x7ffd, 0xffff, M34Write);
69 FCEU_CheatAddRAM(WRAMSIZE >> 10, 0x6000, WRAM);
70}
71
72static void M34Close(void) {
73 if (WRAM)

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected