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

Function M177Power

src/boards/177.cpp:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static void M177Power(void) {
47 reg = 0;
48 Sync();
49 SetReadHandler(0x6000, 0x7fff, CartBR);
50 SetWriteHandler(0x6000, 0x7fff, CartBW);
51 SetReadHandler(0x8000, 0xFFFF, CartBR);
52 SetWriteHandler(0x8000, 0xFFFF, M177Write);
53 FCEU_CheatAddRAM(WRAMSIZE >> 10, 0x6000, WRAM);
54}
55
56static void M177Close(void) {
57 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