(RMenu) Fix logic error in applying CGP changes
This commit is contained in:
parent
2c8ddeb109
commit
71faee1d4d
|
@ -1928,7 +1928,7 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
||||||
else
|
else
|
||||||
cgp_path[0] = '\0';
|
cgp_path[0] = '\0';
|
||||||
|
|
||||||
ret = video_set_shader_func(RARCH_SHADER_CG, (cgp_path[0] != '\0') ? NULL : cgp_path);
|
ret = video_set_shader_func(RARCH_SHADER_CG, (cgp_path[0] != '\0') ? cgp_path : NULL);
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
g_settings.video.shader_enable = true;
|
g_settings.video.shader_enable = true;
|
||||||
|
|
Loading…
Reference in New Issue