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

Function FCEUI_ResetNES

src/input.cpp:765–773  ·  view source on GitHub ↗

Resets the NES

Source from the content-addressed store, hash-verified

763
764//Resets the NES
765void FCEUI_ResetNES(void)
766{
767 if(!FCEU_IsValidUI(FCEUI_RESET))
768 return;
769
770 FCEU_DispMessage("Command: Soft reset", 0);
771 FCEU_QSimpleCommand(FCEUNPCMD_RESET);
772 ResetFrameCounter();
773}
774
775//Powers off the NES
776void FCEUI_PowerNES(void)

Callers 4

emu_softresetFunction · 0.85
AppWndProcFunction · 0.85
KeyboardCommandsFunction · 0.85
KeyboardCommandsFunction · 0.85

Calls 4

FCEU_IsValidUIFunction · 0.85
FCEU_DispMessageFunction · 0.85
FCEU_QSimpleCommandFunction · 0.85
ResetFrameCounterFunction · 0.85

Tested by

no test coverage detected