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

Method CheckCustomAttributesForPath

pcsx2/GameList.cpp:1470–1478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1468}
1469
1470void GameList::CheckCustomAttributesForPath(const std::string& path, bool& has_custom_title, bool& has_custom_region)
1471{
1472 INISettingsInterface names(GetCustomPropertiesFile());
1473 if (names.Load())
1474 {
1475 has_custom_title = names.ContainsValue(EncodeIniKey(path).c_str(), "Title");
1476 has_custom_region = names.ContainsValue(EncodeIniKey(path).c_str(), "Region");
1477 }
1478}
1479
1480void GameList::SaveCustomTitleForPath(const std::string& path, const std::string& custom_title)
1481{

Callers

nothing calls this directly

Calls 3

LoadMethod · 0.45
ContainsValueMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected