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

Function FCEUD_SaveStateAs

src/drivers/Qt/input.cpp:707–714  ·  view source on GitHub ↗

* Lets the user save a savestate to a specific file **/

Source from the content-addressed store, hash-verified

705* Lets the user save a savestate to a specific file
706**/
707void FCEUD_SaveStateAs(void)
708{
709 std::string fname = GetFilename("Save State As...", 0, "Save States|*.fc0");
710 if (!fname.size())
711 return; // no filename selected, quit the whole thing
712
713 FCEUI_SaveState(fname.c_str());
714}
715
716/**
717* Lets the user load a savestate from a specific file

Callers

nothing calls this directly

Calls 3

FCEUI_SaveStateFunction · 0.85
GetFilenameFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected