MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / Util_MakeScreenShotFileName

Method Util_MakeScreenShotFileName

source/FrameBase.cpp:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122std::string FrameBase::Util_MakeScreenShotFileName() const
123{
124 const std::string sPrefixScreenShotFileName = "AppleWin_ScreenShot";
125 const std::string pPrefixFileName = !g_pLastDiskImageName.empty() ? g_pLastDiskImageName : sPrefixScreenShotFileName;
126 const std::string folder = Video_GetScreenShotFolder();
127 return StrFormat("%s%s_%09d.bmp", folder.c_str(), pPrefixFileName.c_str(), g_nLastScreenShot);
128}
129
130// Returns TRUE if file exists, else FALSE
131bool FrameBase::Util_TestScreenShotFileName(const char* pFileName)

Callers

nothing calls this directly

Calls 1

StrFormatFunction · 0.85

Tested by

no test coverage detected