MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / LoadPathFromSettings

Function LoadPathFromSettings

pcsx2/Pcsx2Config.cpp:2301–2307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2299}
2300
2301static std::string LoadPathFromSettings(SettingsInterface& si, const std::string& root, const char* name, const char* def)
2302{
2303 std::string value = si.GetStringValue("Folders", name, def);
2304 if (!Path::IsAbsolute(value))
2305 value = Path::Combine(root, value);
2306 return value;
2307}
2308
2309void EmuFolders::LoadConfig(SettingsInterface& si)
2310{

Callers 1

LoadConfigMethod · 0.85

Calls 2

CombineFunction · 0.85
GetStringValueMethod · 0.45

Tested by

no test coverage detected