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

Method RemoveEmptySections

common/MemorySettingsInterface.cpp:330–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330void MemorySettingsInterface::RemoveEmptySections()
331{
332 for (auto sit = m_sections.begin(); sit != m_sections.end();)
333 {
334 if (sit->second.size() > 0)
335 {
336 ++sit;
337 continue;
338 }
339
340 sit = m_sections.erase(sit);
341 }
342}

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected