diff --git a/menu/menu.h b/menu/menu.h index cda5c903e5..27dd77c56a 100644 --- a/menu/menu.h +++ b/menu/menu.h @@ -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, diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 44f96d5655..1f6f6a0b88 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -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: