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

Function FCEUPPU_Reset

src/ppu.cpp:1721–1732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1719}
1720
1721void FCEUPPU_Reset(void) {
1722 VRAMBuffer = PPU[0] = PPU[1] = PPU_status = PPU[3] = 0;
1723 PPUSPL = 0;
1724 PPUGenLatch = 0;
1725 RefreshAddr = TempAddr = 0;
1726 vtoggle = 0;
1727 ppudead = 2;
1728 kook = 0;
1729 idleSynch = 1;
1730
1731 new_ppu_reset = true; // delay reset of ppur/spr_read until it's ready to start a new frame
1732}
1733
1734void FCEUPPU_Power(void) {
1735 int x;

Callers 2

FCEUPPU_PowerFunction · 0.85
ResetNESFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected