mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-24 02:15:12 +00:00
Add menu_setting_get_enum_idx
This commit is contained in:
parent
442ebf2acf
commit
b510b2fe26
@ -2279,6 +2279,13 @@ const char *menu_setting_get_values(rarch_setting_t *setting)
|
||||
return setting->values;
|
||||
}
|
||||
|
||||
enum menu_hash_enums menu_setting_get_enum_idx(rarch_setting_t *setting)
|
||||
{
|
||||
if (!setting)
|
||||
return MENU_ENUM_LABEL_UNKNOWN;
|
||||
return setting->enum_idx;
|
||||
}
|
||||
|
||||
const char *menu_setting_get_name(rarch_setting_t *setting)
|
||||
{
|
||||
if (!setting)
|
||||
|
@ -340,6 +340,8 @@ enum setting_type menu_setting_get_type(rarch_setting_t *setting);
|
||||
|
||||
enum setting_type menu_setting_get_browser_selection_type(rarch_setting_t *setting);
|
||||
|
||||
enum menu_hash_enums menu_setting_get_enum_idx(rarch_setting_t *setting);
|
||||
|
||||
const char *menu_setting_get_values(rarch_setting_t *setting);
|
||||
|
||||
const char *menu_setting_get_name(rarch_setting_t *setting);
|
||||
|
Loading…
x
Reference in New Issue
Block a user