mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
Merge pull request #11180 from rsn8887/master
[SWITCH] Fix input bind icons being off by one line
This commit is contained in:
commit
c7f839a7fd
@ -468,6 +468,10 @@ uintptr_t ozone_entries_icon_get_texture(ozone_handle_t *ozone,
|
||||
input_id = MENU_SETTINGS_INPUT_BEGIN;
|
||||
if (type == input_id + 1)
|
||||
return ozone->icons_textures[OZONE_ENTRIES_ICONS_TEXTURE_INPUT_ADC];
|
||||
#ifdef HAVE_LIBNX
|
||||
// account for the additional split joycon option in Input User # Binds
|
||||
input_id++;
|
||||
#endif
|
||||
if (type == input_id + 2)
|
||||
return ozone->icons_textures[OZONE_ENTRIES_ICONS_TEXTURE_INPUT_SETTINGS];
|
||||
if (type == input_id + 3)
|
||||
|
@ -2899,6 +2899,10 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
|
||||
input_id = MENU_SETTINGS_INPUT_BEGIN;
|
||||
if ( type == input_id + 1)
|
||||
return xmb->textures.list[XMB_TEXTURE_INPUT_ADC];
|
||||
#ifdef HAVE_LIBNX
|
||||
// account for the additional split joycon option in Input # Binds
|
||||
input_id++;
|
||||
#endif
|
||||
if ( type == input_id + 2)
|
||||
return xmb->textures.list[XMB_TEXTURE_INPUT_SETTINGS];
|
||||
if ( type == input_id + 3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user