From 32bfcc034f41276f0fad036dece8a8f632913dff Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sat, 8 Feb 2014 14:23:34 +1300 Subject: Some tidy up of sprintf to StringFromFormat Includes a small fix to SetupWiiMemory --- Source/Core/Common/IniFile.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/Common/IniFile.h') 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 &lines); bool GetLines(const char* sectionName, std::vector& 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); -- cgit v1.2.3