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

Function MALEEPower

src/boards/malee.cpp:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23static uint8 WRAM[2048];
24
25static void MALEEPower(void) {
26 setprg2r(0x10, 0x7000, 0);
27 SetReadHandler(0x8000, 0xFFFF, CartBR);
28 SetReadHandler(0x6000, 0x67FF, CartBR);
29 SetReadHandler(0x7000, 0x77FF, CartBR);
30 SetWriteHandler(0x7000, 0x77FF, CartBW);
31 setprg2r(1, 0x6000, 0);
32 setprg32(0x8000, 0);
33 setchr8(0);
34}
35
36void MALEE_Init(CartInfo *info) {
37 info->Power = MALEEPower;

Callers

nothing calls this directly

Calls 5

setprg2rFunction · 0.85
SetReadHandlerFunction · 0.85
SetWriteHandlerFunction · 0.85
setprg32Function · 0.85
setchr8Function · 0.85

Tested by

no test coverage detected