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

Function FCEUI_SaveState

src/state.cpp:947–954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945}
946
947void FCEUI_SaveState(const char *fname, bool display_message)
948{
949 if(!FCEU_IsValidUI(FCEUI_SAVESTATE)) return;
950
951 StateShow = 0;
952
953 FCEUSS_Save(fname, display_message);
954}
955
956int loadStateFailed = 0; // hack, this function should return a value instead
957

Callers 15

CommandStateSaveFunction · 0.85
FCEUD_SaveStateAsFunction · 0.85
AppWndProcFunction · 0.85
CloseGameFunction · 0.85
DoFunFunction · 0.85
FCEUD_SaveStateAsFunction · 0.85
saveStateAsMethod · 0.85
quickSaveMethod · 0.85
saveStateMethod · 0.85
saveStateAsFunction · 0.85
quickSaveFunction · 0.85
FCEUD_SaveStateAsFunction · 0.85

Calls 2

FCEU_IsValidUIFunction · 0.85
FCEUSS_SaveFunction · 0.85

Tested by

no test coverage detected