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

Function PS4PathToPCPath

GPCS4/Platform/PlatPath.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32std::string PS4PathToPCPath(const std::string &strPs4Path)
33{
34 std::string strPcPath = strPs4Path;
35 std::replace(strPcPath.begin(), strPcPath.end(), '/', '\\');
36 std::string strWorkingDirPath = GetWorkingDirPath();
37 strPcPath = util::str::replaceAll(strPcPath, "\\app0\\", strWorkingDirPath);
38 return strPcPath;
39}
40
41size_t FileCountInDirectory(const std::string &path)
42{

Callers 5

sce_libc_file.cppFile · 0.85
sceKernelOpenFunction · 0.85
sceKernelStatFunction · 0.85
sceFiosFileExistsSyncFunction · 0.85

Calls 4

GetWorkingDirPathFunction · 0.85
replaceAllFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected