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

Function ResetFrameCounter

src/input.cpp:757–762  ·  view source on GitHub ↗

Resets the frame counter if movie inactive and rom is reset or power-cycle

Source from the content-addressed store, hash-verified

755
756//Resets the frame counter if movie inactive and rom is reset or power-cycle
757void ResetFrameCounter()
758{
759extern EMOVIEMODE movieMode;
760 if(movieMode == MOVIEMODE_INACTIVE)
761 currFrameCounter = 0;
762}
763
764//Resets the NES
765void FCEUI_ResetNES(void)

Callers 2

FCEUI_ResetNESFunction · 0.85
FCEUI_PowerNESFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected