mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Softfilter toggling currently broken
This commit is contained in:
parent
5e05665a0e
commit
262c1aa54b
@ -2194,8 +2194,8 @@ static int menu_common_iterate(unsigned action)
|
||||
else if (menu_type == RGUI_SETTINGS_VIDEO_SOFTFILTER)
|
||||
{
|
||||
fill_pathname_join(g_settings.video.filter_path, dir, path, sizeof(g_settings.video.filter_path));
|
||||
rarch_deinit_filter();
|
||||
rarch_init_filter(g_extern.system.pix_fmt);
|
||||
driver.menu_data_own = true;
|
||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||
menu_flush_stack_type(RGUI_SETTINGS_VIDEO_OPTIONS);
|
||||
}
|
||||
else if (menu_type == RGUI_SETTINGS_AUDIO_DSP_FILTER)
|
||||
@ -2203,8 +2203,8 @@ static int menu_common_iterate(unsigned action)
|
||||
#ifdef HAVE_DYLIB
|
||||
fill_pathname_join(g_settings.audio.dsp_plugin, dir, path, sizeof(g_settings.audio.dsp_plugin));
|
||||
#endif
|
||||
rarch_deinit_dsp_filter();
|
||||
rarch_init_dsp_filter();
|
||||
driver.menu_data_own = true;
|
||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||
menu_flush_stack_type(RGUI_SETTINGS_AUDIO_OPTIONS);
|
||||
}
|
||||
else if (menu_type == RGUI_SAVESTATE_DIR_PATH)
|
||||
@ -3375,8 +3375,8 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
|
||||
file_list_push(driver.menu->menu_stack, g_settings.video.filter_dir, setting, driver.menu->selection_ptr);
|
||||
menu_clear_navigation(driver.menu);
|
||||
#else
|
||||
rarch_deinit_filter();
|
||||
rarch_init_filter(g_extern.system.pix_fmt);
|
||||
driver.menu_data_own = true;
|
||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||
#endif
|
||||
driver.menu->need_refresh = true;
|
||||
break;
|
||||
@ -3386,8 +3386,8 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
|
||||
#else
|
||||
strlcpy(g_settings.video.filter_path, "", sizeof(g_settings.video.filter_path));
|
||||
#endif
|
||||
rarch_deinit_filter();
|
||||
rarch_init_filter(g_extern.system.pix_fmt);
|
||||
driver.menu_data_own = true;
|
||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user