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

Method SetKeyValueList

pcsx2/INISettingsInterface.cpp:381–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381void INISettingsInterface::SetKeyValueList(const char* section, const std::vector<std::pair<std::string, std::string>>& items)
382{
383 m_ini.Delete(section, nullptr);
384 for (const std::pair<std::string, std::string>& item : items)
385 m_ini.SetValue(section, item.first.c_str(), item.second.c_str(), nullptr, false);
386}

Callers

nothing calls this directly

Calls 3

DeleteMethod · 0.80
SetValueMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected