mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
menu_setting_set_flags - handles string option settings now
This commit is contained in:
parent
052616c675
commit
a151467bc7
@ -118,6 +118,7 @@ typedef enum
|
||||
MENU_SETTING_ACTION_LOADSTATE,
|
||||
MENU_SETTING_ACTION_SCREENSHOT,
|
||||
MENU_SETTING_ACTION_RESET,
|
||||
MENU_SETTING_STRING_OPTIONS,
|
||||
MENU_SETTING_GROUP,
|
||||
MENU_SETTING_SUBGROUP,
|
||||
MENU_SETTING_HORIZONTAL_MENU,
|
||||
|
@ -486,11 +486,10 @@ int menu_setting_set_flags(rarch_setting_t *setting)
|
||||
if (!setting)
|
||||
return 0;
|
||||
|
||||
if (flags & SD_FLAG_IS_DRIVER)
|
||||
return MENU_SETTING_DRIVER;
|
||||
|
||||
switch (menu_setting_get_type(setting))
|
||||
{
|
||||
case ST_STRING_OPTIONS:
|
||||
return MENU_SETTING_STRING_OPTIONS;
|
||||
case ST_ACTION:
|
||||
return MENU_SETTING_ACTION;
|
||||
case ST_PATH:
|
||||
|
Loading…
x
Reference in New Issue
Block a user