From 33aff0add44e9b8b26b45575a2e6b5e8fd26ffed Mon Sep 17 00:00:00 2001 From: Stephanie Gawroriski Date: Sun, 24 Dec 2023 15:11:58 -0500 Subject: [PATCH] Increase sizes more? --- input/input_defines.h | 2 ++ menu/menu_displaylist.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/input/input_defines.h b/input/input_defines.h index 66cb1c85305d..0083fcc43a9e 100644 --- a/input/input_defines.h +++ b/input/input_defines.h @@ -362,6 +362,8 @@ static INLINE rarch_bind_id rarch_logical_to_bind_game_controller(rarch_logical_ /** * Returns the number of binds that are part of game controllers. * + * Use this instead of @c RARCH_FIRST_CUSTOM_BIND . + * * @return The number of binds that are part of game controllers. * @since 2023/12/24 */ diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index ee71e2dc8e10..7a9ce7b7b386 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -11687,7 +11687,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, if (menu_entries_append(list, descriptor, info->path, MSG_UNKNOWN, MENU_SETTINGS_INPUT_DESC_BEGIN + - (port * (RARCH_FIRST_CUSTOM_BIND + 8)) + retro_id, 0, 0, NULL)) + (port * rarch_num_bind_game_controller()) + retro_id, 0, 0, NULL)) count++; } }