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

Method DeleteValue

common/MemorySettingsInterface.cpp:301–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301void MemorySettingsInterface::DeleteValue(const char* section, const char* key)
302{
303 auto sit = m_sections.find(section);
304 if (sit == m_sections.end())
305 return;
306
307 const auto range = sit->second.equal_range(key);
308 for (auto iter = range.first; iter != range.second;)
309 sit->second.erase(iter++);
310}
311
312void MemorySettingsInterface::ClearSection(const char* section)
313{

Callers 4

EntryMethod · 0.45
EntryBitBoolMethod · 0.45
EntryBitfieldMethod · 0.45
_EnumEntryMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected