Skip to content

Commit

Permalink
Add menu icons to 'RetroPad Binds'
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored and LibretroAdmin committed Jul 2, 2023
1 parent 58aafee commit 4cca2b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion menu/drivers/materialui.c
Original file line number Diff line number Diff line change
Expand Up @@ -10597,7 +10597,8 @@ static void materialui_list_insert(
node->icon_texture_index = MUI_TEXTURE_CORE_CHEAT_OPTIONS;
node->icon_type = MUI_ICON_TYPE_INTERNAL;
}
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_CORE_INPUT_REMAPPING_OPTIONS)))
else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_CORE_INPUT_REMAPPING_OPTIONS))
|| string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_INPUT_RETROPAD_BINDS)))
{
node->icon_texture_index = MUI_TEXTURE_CONTROLS;
node->icon_type = MUI_ICON_TYPE_INTERNAL;
Expand Down
1 change: 1 addition & 0 deletions menu/drivers/ozone.c
Original file line number Diff line number Diff line change
Expand Up @@ -1954,6 +1954,7 @@ static uintptr_t ozone_entries_icon_get_texture(
case MENU_ENUM_LABEL_SETTINGS_SHOW_INPUT:
case MENU_ENUM_LABEL_QUICK_MENU_SHOW_CONTROLS:
case MENU_ENUM_LABEL_UPDATE_AUTOCONFIG_PROFILES:
case MENU_ENUM_LABEL_INPUT_RETROPAD_BINDS:
case MENU_ENUM_LABEL_INPUT_USER_1_BINDS:
case MENU_ENUM_LABEL_INPUT_USER_2_BINDS:
case MENU_ENUM_LABEL_INPUT_USER_3_BINDS:
Expand Down
1 change: 1 addition & 0 deletions menu/drivers/xmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3096,6 +3096,7 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
case MENU_ENUM_LABEL_SETTINGS_SHOW_INPUT:
case MENU_ENUM_LABEL_QUICK_MENU_SHOW_CONTROLS:
case MENU_ENUM_LABEL_UPDATE_AUTOCONFIG_PROFILES:
case MENU_ENUM_LABEL_INPUT_RETROPAD_BINDS:
case MENU_ENUM_LABEL_INPUT_USER_1_BINDS:
case MENU_ENUM_LABEL_INPUT_USER_2_BINDS:
case MENU_ENUM_LABEL_INPUT_USER_3_BINDS:
Expand Down

0 comments on commit 4cca2b8

Please sign in to comment.