| 447 | } |
| 448 | |
| 449 | std::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 |
| 462 | void FCEUI_SetBaseDirectory(std::string const & dir) |
no test coverage detected