MCPcopy Create free account
hub / github.com/Inori/GPCS4 / GetWorkingDirPath

Function GetWorkingDirPath

GPCS4/Platform/PlatPath.cpp:16–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#undef WIN32_LEAN_AND_MEAN
15
16std::string GetWorkingDirPath()
17{
18 std::string workingDir;
19 do
20 {
21 CHAR szPath[MAX_PATH];
22 if (!GetCurrentDirectory(MAX_PATH, szPath))
23 {
24 break;
25 }
26 workingDir.assign(szPath);
27 workingDir += "\\";
28 } while (false);
29 return workingDir;
30}
31
32std::string PS4PathToPCPath(const std::string &strPs4Path)
33{

Callers 1

PS4PathToPCPathFunction · 0.85

Calls 1

assignMethod · 0.45

Tested by

no test coverage detected