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

Function get_string

rpcs3/Loader/PSF.cpp:369–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367 }
368
369 std::string_view get_string(const registry& psf, std::string_view key, std::string_view def)
370 {
371 const auto found = psf.find(key);
372
373 if (found == psf.end() || (found->second.type() != format::string && found->second.type() != format::array))
374 {
375 return def;
376 }
377
378 return found->second.as_string();
379 }
380
381 u32 get_integer(const registry& psf, std::string_view key, u32 def)
382 {

Callers 15

cellHddGameCheckFunction · 0.85
cellGameDataCheckFunction · 0.85
cellGameDataCheckCreate2Function · 0.85
cellGameDeleteGameDataFunction · 0.85
cellGameGetParamStringFunction · 0.85
get_save_entriesFunction · 0.85
error_code savedata_opFunction · 0.85
tryUnlockGameFunction · 0.85
fetchGameInfoFunction · 0.85
implMethod · 0.85
installEdatFunction · 0.85

Calls 3

findMethod · 0.45
endMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected