summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/SettingsHandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/SettingsHandler.h b/Source/Core/Common/SettingsHandler.h
index 232555dea2..3666935438 100644
--- a/Source/Core/Common/SettingsHandler.h
+++ b/Source/Core/Common/SettingsHandler.h
@@ -22,6 +22,10 @@ public:
INITIAL_SEED = 0x73B5DBFA
};
+ inline void AddSetting(const char *key, const std::string& value)
+ {
+ AddSetting(key, value.c_str());
+ }
void AddSetting(const char *key, const char *value);
const u8 *GetData() const;