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

Function locateEbootPath

android/src/rpcsx-android.cpp:747–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747static std::string locateEbootPath(std::string_view root) {
748 if (std::filesystem::is_regular_file(root)) {
749 return std::string(root);
750 }
751
752 for (auto suffix : {
753 "/EBOOT.BIN",
754 "/USRDIR/EBOOT.BIN",
755 "/USRDIR/ISO.BIN.EDAT",
756 "/PS3_GAME/USRDIR/EBOOT.BIN",
757 }) {
758 auto tryPath = std::string(root);
759 tryPath += suffix;
760
761 if (std::filesystem::is_regular_file(tryPath)) {
762 return tryPath;
763 }
764 }
765
766 return {};
767}
768
769static std::string locateParamSfoPath(std::string_view root) {
770 if (std::filesystem::is_regular_file(root)) {

Callers 4

fetchGameInfoFunction · 0.85
installEdatFunction · 0.85
installRapFunction · 0.85
installIsoFunction · 0.85

Calls 1

stringFunction · 0.50

Tested by

no test coverage detected