mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Merge pull request #7972 from Wiimpathy/WiiGammaSettings
Wii: Fix Gamma setting not saved.
This commit is contained in:
commit
75aa27ab94
@ -2054,8 +2054,13 @@ void video_driver_load_settings(config_file_t *conf)
|
|||||||
if (!conf)
|
if (!conf)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef _XBOX
|
||||||
CONFIG_GET_BOOL_BASE(conf, global,
|
CONFIG_GET_BOOL_BASE(conf, global,
|
||||||
console.screen.gamma_correction, "gamma_correction");
|
console.screen.gamma_correction, "gamma_correction");
|
||||||
|
#else
|
||||||
|
CONFIG_GET_INT_BASE(conf, global,
|
||||||
|
console.screen.gamma_correction, "gamma_correction");
|
||||||
|
#endif
|
||||||
|
|
||||||
if (config_get_bool(conf, "flicker_filter_enable",
|
if (config_get_bool(conf, "flicker_filter_enable",
|
||||||
&tmp_bool))
|
&tmp_bool))
|
||||||
@ -2082,8 +2087,13 @@ void video_driver_save_settings(config_file_t *conf)
|
|||||||
if (!conf)
|
if (!conf)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#ifdef _XBOX
|
||||||
config_set_bool(conf, "gamma_correction",
|
config_set_bool(conf, "gamma_correction",
|
||||||
global->console.screen.gamma_correction);
|
global->console.screen.gamma_correction);
|
||||||
|
#else
|
||||||
|
config_set_int(conf, "gamma_correction",
|
||||||
|
global->console.screen.gamma_correction);
|
||||||
|
#endif
|
||||||
config_set_bool(conf, "flicker_filter_enable",
|
config_set_bool(conf, "flicker_filter_enable",
|
||||||
global->console.flickerfilter_enable);
|
global->console.flickerfilter_enable);
|
||||||
config_set_bool(conf, "soft_filter_enable",
|
config_set_bool(conf, "soft_filter_enable",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user