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

Method Power

src/fceu.cpp:1463–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1461class NROM : FCEUXCart {
1462public:
1463virtual void Power() {
1464 SetReadHandler(0x8000, 0xFFFF, CartBR);
1465 setprg16(0x8000, 0);
1466 setprg16(0xC000, ~0);
1467 setchr8(0);
1468
1469 vnapage[0] = NTARAM;
1470 vnapage[2] = NTARAM;
1471 vnapage[1] = NTARAM + 0x400;
1472 vnapage[3] = NTARAM + 0x400;
1473 PPUNTARAM = 0xF;
1474}
1475};
1476
1477void FCEUXGameInterface(GI command)

Callers 3

FCEUXGameInterfaceFunction · 0.45
UNIFGIFunction · 0.45
iNES_ExecPowerFunction · 0.45

Calls 3

SetReadHandlerFunction · 0.85
setprg16Function · 0.85
setchr8Function · 0.85

Tested by

no test coverage detected