mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Bind driver settings action OK callback to dropdown list
This commit is contained in:
parent
a0e218bd44
commit
50bb491ba2
@ -115,12 +115,6 @@ static int action_select_path_use_directory(const char *path,
|
||||
return action_ok_path_use_directory(path, label, type, idx, 0 /* unused */);
|
||||
}
|
||||
|
||||
static int action_select_driver_setting(const char *path, const char *label, unsigned type,
|
||||
size_t idx)
|
||||
{
|
||||
return bind_right_generic(type, label, true);
|
||||
}
|
||||
|
||||
static int action_select_core_setting(const char *path, const char *label, unsigned type,
|
||||
size_t idx)
|
||||
{
|
||||
@ -269,17 +263,6 @@ int menu_cbs_init_bind_select(menu_file_list_cbs_t *cbs,
|
||||
}
|
||||
#endif
|
||||
|
||||
if (cbs->setting)
|
||||
{
|
||||
uint64_t flags = cbs->setting->flags;
|
||||
|
||||
if (flags & SD_FLAG_IS_DRIVER)
|
||||
{
|
||||
BIND_ACTION_SELECT(cbs, action_select_driver_setting);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
if ((type >= MENU_SETTINGS_CORE_OPTION_START))
|
||||
{
|
||||
BIND_ACTION_SELECT(cbs, action_select_core_setting);
|
||||
|
Loading…
x
Reference in New Issue
Block a user