mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
Fix IniFile to use string& instead of char*
Also removes .c_str() usages where found.
This commit is contained in:
parent
079b1ba93d
commit
3fe05e0a9f
17 changed files with 205 additions and 218 deletions
|
@ -21,15 +21,11 @@ public:
|
|||
// Key used to encrypt/decrypt setting.txt contents
|
||||
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);
|
||||
|
||||
void AddSetting(const std::string& key, const std::string& value);
|
||||
|
||||
const u8 *GetData() const;
|
||||
const std::string GetValue(const std::string key);
|
||||
const std::string GetValue(const std::string& key);
|
||||
|
||||
void Decrypt();
|
||||
void Reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue