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

Method SetKeyValueList

common/MemorySettingsInterface.cpp:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void MemorySettingsInterface::SetKeyValueList(const char* section, const std::vector<std::pair<std::string, std::string>>& items)
189{
190 auto sit = m_sections.find(section);
191 sit->second.clear();
192 for (const auto& [key, value] : items)
193 sit->second.emplace(key, value);
194}
195
196void MemorySettingsInterface::SetValue(const char* section, const char* key, std::string value)
197{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected