MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / create_path

Function create_path

ps3fw/cellRec.cpp:899–918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897}
898
899bool create_path(std::string& out, std::string dir_name, const std::string& file_name)
900{
901 out.clear();
902
903 if (dir_name.size() + file_name.size() > CELL_REC_MAX_PATH_LEN)
904 {
905 return false;
906 }
907
908 out = std::move(dir_name);
909
910 if (!out.empty() && out.back() != '/')
911 {
912 out += '/';
913 }
914
915 out += file_name;
916
917 return true;
918}
919
920u32 cellRecQueryMemSize(vm::cptr<CellRecParam> pParam); // Forward declaration
921

Callers 15

cellRecOpenFunction · 0.85
get_yaml_pathMethod · 0.85
cellHddGameCheckFunction · 0.85
cellGameDataCheckCreate2Function · 0.85
cellVideoExportFromFileFunction · 0.85
cellPhotoRegistFromFileFunction · 0.85
cellPhotoExportFromFileFunction · 0.85
cellMusicExportFromFileFunction · 0.85
extract_mselfFunction · 0.85
extractMethod · 0.85

Calls 3

clearMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected