mirror of
https://github.com/libretro/RetroArch.git
synced 2024-05-20 05:20:19 -04:00
Fixed accessibility for menu start actions.
This commit is contained in:
parent
159190cc14
commit
fca7bc52ed
|
@ -6881,8 +6881,6 @@ static enum menu_action materialui_parse_menu_entry_action(
|
|||
}
|
||||
else if (!materialui_entry_onscreen(mui, selection))
|
||||
new_action = MENU_ACTION_NOOP;
|
||||
else
|
||||
new_action = MENU_ACTION_ACCESSIBILITY_SPEAK_TITLE_LABEL;
|
||||
}
|
||||
break;
|
||||
case MENU_ACTION_INFO:
|
||||
|
|
|
@ -3266,8 +3266,6 @@ static enum menu_action ozone_parse_menu_entry_action(
|
|||
}
|
||||
if (ozone->cursor_in_sidebar)
|
||||
new_action = MENU_ACTION_ACCESSIBILITY_SPEAK_TITLE;
|
||||
else
|
||||
new_action = MENU_ACTION_ACCESSIBILITY_SPEAK_TITLE_LABEL;
|
||||
break;
|
||||
case MENU_ACTION_DOWN:
|
||||
if (ozone->cursor_in_sidebar)
|
||||
|
|
|
@ -5286,9 +5286,6 @@ static enum menu_action rgui_parse_menu_entry_action(
|
|||
rgui_toggle_fs_thumbnail(rgui);
|
||||
new_action = MENU_ACTION_NOOP;
|
||||
break;
|
||||
case MENU_ACTION_START:
|
||||
new_action = MENU_ACTION_ACCESSIBILITY_SPEAK_TITLE_LABEL;
|
||||
break;
|
||||
default:
|
||||
/* In all other cases, pass through input
|
||||
* menu action without intervention */
|
||||
|
|
|
@ -6842,7 +6842,6 @@ static enum menu_action xmb_parse_menu_entry_action(
|
|||
new_action = MENU_ACTION_NOOP;
|
||||
break;
|
||||
}
|
||||
new_action = MENU_ACTION_ACCESSIBILITY_SPEAK_TITLE_LABEL;
|
||||
break;
|
||||
default:
|
||||
/* In all other cases, pass through input
|
||||
|
|
|
@ -483,6 +483,11 @@ int generic_menu_entry_action(
|
|||
get_current_menu_label(current_label, sizeof(current_label));
|
||||
break;
|
||||
case MENU_ACTION_START:
|
||||
if (!string_is_equal(current_value, "..."))
|
||||
{
|
||||
menu_entries_get_title(title_name, sizeof(title_name));
|
||||
get_current_menu_label(current_label, sizeof(current_label));
|
||||
}
|
||||
break;
|
||||
case MENU_ACTION_SELECT:
|
||||
case MENU_ACTION_SEARCH:
|
||||
|
|
Loading…
Reference in a new issue