CommonHostInterface: Fully clear controller section before loading profile
This commit is contained in:
committed by
Connor McLaughlin
parent
a5f04f2a8e
commit
189656cbc4
@ -102,6 +102,13 @@ void INISettingsInterface::DeleteValue(const char* section, const char* key)
|
||||
m_ini.Delete(section, key);
|
||||
}
|
||||
|
||||
void INISettingsInterface::ClearSection(const char* section)
|
||||
{
|
||||
m_dirty = true;
|
||||
m_ini.Delete(section, nullptr);
|
||||
m_ini.SetValue(section, nullptr, nullptr);
|
||||
}
|
||||
|
||||
std::vector<std::string> INISettingsInterface::GetStringList(const char* section, const char* key)
|
||||
{
|
||||
std::list<CSimpleIniA::Entry> entries;
|
||||
|
||||
Reference in New Issue
Block a user