diff --git a/console/rarch_console_config.c b/console/rarch_console_config.c index 5515e27582..2278ac22fa 100644 --- a/console/rarch_console_config.c +++ b/console/rarch_console_config.c @@ -58,10 +58,6 @@ void rarch_config_load(const char * conf_name, const char * libretro_dir_path, c CONFIG_GET_FLOAT(video.fbo_scale_y, "video_fbo_scale_y"); CONFIG_GET_BOOL(video.render_to_texture, "video_render_to_texture"); CONFIG_GET_BOOL(video.second_pass_smooth, "video_second_pass_smooth"); -#endif -#ifdef _XBOX360 - CONFIG_GET_BOOL_CONSOLE(gamma_correction_enable, "gamma_correction_enable"); - CONFIG_GET_INT_CONSOLE(color_format, "color_format"); #endif CONFIG_GET_BOOL(video.smooth, "video_smooth"); CONFIG_GET_BOOL(video.vsync, "video_vsync"); @@ -100,6 +96,14 @@ void rarch_config_load(const char * conf_name, const char * libretro_dir_path, c CONFIG_GET_INT_CONSOLE(sound_mode, "sound_mode"); #ifdef HAVE_ZLIB CONFIG_GET_INT_CONSOLE(zip_extract_mode, "zip_extract_mode"); +#endif +#ifdef _XBOX360 + CONFIG_GET_BOOL_CONSOLE(gamma_correction_enable, "gamma_correction_enable"); + CONFIG_GET_INT_CONSOLE(color_format, "color_format"); +#endif +#ifdef _XBOX1 + CONFIG_GET_INT_CONSOLE(flicker_filter, "fliker_filter"); + CONFIG_GET_BOOL_CONSOLE(soft_display_filter_enable, "soft_display_filter_enable"); #endif CONFIG_GET_STRING_CONSOLE(default_rom_startup_dir, "default_rom_startup_dir"); CONFIG_GET_FLOAT_CONSOLE(menu_font_size, "menu_font_size"); @@ -152,9 +156,13 @@ void rarch_config_save(const char * conf_name) #endif config_set_bool(conf, "overscan_enable", g_console.overscan_enable); config_set_bool(conf, "screenshots_enable", g_console.screenshots_enable); -#ifdef _XBOX +#ifdef _XBOX360 config_set_bool(conf, "gamma_correction_enable", g_console.gamma_correction_enable); config_set_int(conf, "color_format", g_console.color_format); +#endif +#ifdef _XBOX1 + config_set_bool(conf, "soft_display_filter_enable", g_console.soft_display_filter_enable); + config_set_int(conf, "flicker_filter", g_console.flicker_filter); #endif config_set_bool(conf, "throttle_enable", g_console.throttle_enable); config_set_bool(conf, "triple_buffering_enable", g_console.triple_buffering_enable); diff --git a/console/rarch_console_settings.c b/console/rarch_console_settings.c index 214cf7b5ef..aad9a1d802 100644 --- a/console/rarch_console_settings.c +++ b/console/rarch_console_settings.c @@ -386,6 +386,10 @@ void rarch_settings_set_default (const input_driver_t *input) g_console.color_format = 0; g_console.gamma_correction_enable = 1; #endif +#ifdef _XBOX1 + g_console.flicker_filter = 1; + g_console.soft_display_filter_enable = false; +#endif #ifdef HAVE_ZLIB g_console.zip_extract_mode = 0; #endif