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

Method SetStringList

pcsx2/INISettingsInterface.cpp:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322void INISettingsInterface::SetStringList(const char* section, const char* key, const std::vector<std::string>& items)
323{
324 m_dirty = true;
325 m_ini.Delete(section, key);
326
327 for (const std::string& sv : items)
328 m_ini.SetValue(section, key, sv.c_str(), nullptr, false);
329}
330
331bool INISettingsInterface::RemoveFromStringList(const char* section, const char* key, const char* item)
332{

Callers 3

saveListToSettingsMethod · 0.45
AddBindingsMethod · 0.45

Calls 3

DeleteMethod · 0.80
SetValueMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected