mirror of
https://github.com/libretro/RetroArch
synced 2025-03-18 04:21:19 +00:00
Refactor MENU_SETTINGS_AUDIO_DSP_FILTER
This commit is contained in:
parent
55393efb0a
commit
ef5ea9f92c
@ -3757,16 +3757,8 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MENU_SETTINGS_AUDIO_DSP_FILTER:
|
case MENU_SETTINGS_AUDIO_DSP_FILTER:
|
||||||
switch (action)
|
if ((current_setting = (rarch_setting_t*)setting_data_find_setting(setting_data, "audio_dsp_plugin")))
|
||||||
{
|
menu_common_setting_set_current_path_selection(current_setting, g_settings.audio.filter_dir, setting, action);
|
||||||
case MENU_ACTION_OK:
|
|
||||||
menu_common_setting_push_current_menu(driver.menu->menu_stack, g_settings.audio.filter_dir, setting, driver.menu->selection_ptr, action);
|
|
||||||
break;
|
|
||||||
case MENU_ACTION_START:
|
|
||||||
rarch_main_command(RARCH_CMD_DSP_FILTER_DEINIT);
|
|
||||||
*g_settings.audio.dsp_plugin = '\0';
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
case MENU_SETTINGS_OVERLAY_OPACITY:
|
case MENU_SETTINGS_OVERLAY_OPACITY:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user