MCPcopy Create free account
hub / github.com/crosire/reshade / ReShadeSetConfigValue

Function ReShadeSetConfigValue

source/addon.cpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void ReShadeSetConfigValue(void *module, reshade::api::effect_runtime *runtime, const char *section, const char *key, const char *value)
81{
82 return ReShadeSetConfigArray(module, runtime, section, key, value, value != nullptr ? std::strlen(value) : 0);
83}
84void ReShadeSetConfigArray(void *, reshade::api::effect_runtime *runtime, const char *section, const char *key, const char *value, size_t size)
85{
86 reshade::ini_file &config = (runtime != nullptr) ? reshade::ini_file::load_cache(static_cast<reshade::runtime *>(runtime)->get_config_path()) : reshade::global_config();

Callers 1

set_config_valueFunction · 0.85

Calls 1

ReShadeSetConfigArrayFunction · 0.85

Tested by

no test coverage detected