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

Function GetMfn

src/file.cpp:449–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449std::string GetMfn() //Retrieves the movie filename from curMovieFilename (for adding to savestate and auto-save files)
450{
451 std::string movieFilenamePart;
452 if (!curMovieFilename.empty())
453 {
454 char drv[PATH_MAX], dir[PATH_MAX], name[PATH_MAX], ext[PATH_MAX];
455 splitpath(curMovieFilename.c_str(),drv,dir,name,ext);
456 movieFilenamePart = std::string(".") + name;
457 }
458 return movieFilenamePart;
459}
460
461/// Updates the base directory
462void FCEUI_SetBaseDirectory(std::string const & dir)

Callers 2

FCEU_MakeFNameFunction · 0.85
FCEUD_AviRecordToFunction · 0.85

Calls 1

splitpathFunction · 0.85

Tested by

no test coverage detected