menu_setting_set_flags - handles string option settings now

This commit is contained in:
twinaphex 2015-10-28 16:58:20 +01:00
parent 052616c675
commit a151467bc7
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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: