mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Postshader: Reset ini keys for defaults.
Should fix the Vignette shader defaults, see #16562.
This commit is contained in:
1 parent
f202029d0b
commit
fe470c790e
5 files changed
+15
-15
No files matched your search
@@ -418,7 +418,7 @@ void DisplayLayoutScreen::CreateViews() {
|
||||
auto &setting = shaderInfo->settings[i];
|
||||
if (!setting.name.empty()) {
|
||||
// This map lookup will create the setting in the mPostShaderSetting map if it doesn't exist, with a default value of 0.0.
|
||||
std::string key = StringFromFormat("%sSettingValue%d", shaderInfo->section.c_str(), i + 1);
|
||||
std::string key = StringFromFormat("%sSettingCurrentValue%d", shaderInfo->section.c_str(), i + 1);
|
||||
bool keyExisted = g_Config.mPostShaderSetting.find(key) != g_Config.mPostShaderSetting.end();
|
||||
auto &value = g_Config.mPostShaderSetting[key];
|
||||
if (!keyExisted)
|
||||
|
||||
Reference in new issue
Block a user