diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 49da512e3a..c9142c31c8 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -2910,7 +2910,7 @@ static int action_ok_audio_run(const char *path, #endif } -static int action_ok_core_option_dropdown_list(const char *path, +int action_ok_core_option_dropdown_list(const char *path, const char *label, unsigned type, size_t idx, size_t entry_idx) { char core_option_lbl[256]; diff --git a/menu/cbs/menu_cbs_select.c b/menu/cbs/menu_cbs_select.c index 462c1bdc93..38974ab908 100644 --- a/menu/cbs/menu_cbs_select.c +++ b/menu/cbs/menu_cbs_select.c @@ -118,7 +118,7 @@ static int action_select_path_use_directory(const char *path, static int action_select_core_setting(const char *path, const char *label, unsigned type, size_t idx) { - return core_setting_right(type, label, true); + return action_ok_core_option_dropdown_list(path, label, type, idx, 0); } static int shader_action_parameter_select(const char *path, const char *label, unsigned type, diff --git a/menu/menu_cbs.h b/menu/menu_cbs.h index 1d4ad1acee..e625b49644 100644 --- a/menu/menu_cbs.h +++ b/menu/menu_cbs.h @@ -265,6 +265,9 @@ int action_scan_file(const char *path, int bind_right_generic(unsigned type, const char *label, bool wraparound); +int action_ok_core_option_dropdown_list(const char *path, + const char *label, unsigned type, size_t idx, size_t entry_idx); + /* This sets up all the callback functions for a menu entry. * * OK : When we press the 'OK' button on an entry.