MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / CopyStringValue

Function CopyStringValue

common/SettingsInterface.h:240–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 }
239
240 __fi void CopyStringValue(const SettingsInterface& si, const char* section, const char* key)
241 {
242 std::string value;
243 if (si.GetStringValue(section, key, &value))
244 SetStringValue(section, key, value.c_str());
245 else
246 DeleteValue(section, key);
247 }
248
249 __fi void CopyStringListValue(const SettingsInterface& si, const char* section, const char* key)
250 {

Callers

nothing calls this directly

Calls 2

GetStringValueMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected