Fix remap screens

This commit is contained in:
LibretroAdmin 2025-02-12 01:32:06 +01:00
parent 49e625e750
commit 6556edd18e
2 changed files with 4 additions and 1 deletions

View File

@ -795,7 +795,8 @@ static size_t menu_action_setting_disp_set_label_input_desc(
if (!string_is_empty(descriptor))
{
size_t _len = strlcpy(s, descriptor, len);
if (remap_idx < RARCH_FIRST_CUSTOM_BIND) { }
if (remap_idx < RARCH_FIRST_CUSTOM_BIND)
return 0;
else if (remap_idx % 2 == 0)
return strlcpy(s, " +", len);
else

View File

@ -6726,6 +6726,8 @@ static size_t setting_get_string_representation_turbo_default_button(
return strlcpy(s, "B", len);
case INPUT_TURBO_DEFAULT_BUTTON_Y:
return strlcpy(s, "Y", len);
case INPUT_TURBO_DEFAULT_BUTTON_A:
return strlcpy(s, "A", len);
case INPUT_TURBO_DEFAULT_BUTTON_X:
return strlcpy(s, "X", len);
case INPUT_TURBO_DEFAULT_BUTTON_L: