Wii: Fix Gamma setting not saved.
This commit is contained in:
parent
24ce1aee21
commit
10723bca01
|
@ -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…
Reference in New Issue