diff options
| author | Matthew Parlane <parlane@gmail.com> | 2014-02-08 14:23:34 +1300 |
|---|---|---|
| committer | Matthew Parlane <parlane@gmail.com> | 2014-02-10 17:25:18 +1300 |
| commit | 32bfcc034f41276f0fad036dece8a8f632913dff (patch) | |
| tree | 33955e265cab4ece64efbbcc475896e8e8d280b6 /Source/Core/Common/IniFile.h | |
| parent | 8d25e12085b8e3785a9843a8ffb5545eeb109107 (diff) | |
Some tidy up of sprintf to StringFromFormat
Includes a small fix to SetupWiiMemory
Diffstat (limited to 'Source/Core/Common/IniFile.h')
| -rw-r--r-- | Source/Core/Common/IniFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/IniFile.h b/Source/Core/Common/IniFile.h index abfb58b0a6..005f866f65 100644 --- a/Source/Core/Common/IniFile.h +++ b/Source/Core/Common/IniFile.h @@ -140,6 +140,10 @@ public: void SetLines(const char* sectionName, const std::vector<std::string> &lines); bool GetLines(const char* sectionName, std::vector<std::string>& lines, const bool remove_comments = true) const; + inline bool DeleteKey(const char* sectionName, const std::string& key) + { + return DeleteKey(sectionName, key.c_str()); + } bool DeleteKey(const char* sectionName, const char* key); bool DeleteSection(const char* sectionName); |
