mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(RMenu) Ingame menu selection now wraps-around
This commit is contained in:
parent
196242aab1
commit
5a1f146dd6
@ -2020,12 +2020,16 @@ static void ingame_menu(menu *current_menu, uint64_t input)
|
||||
{
|
||||
if(g_console.ingame_menu_item > 0)
|
||||
g_console.ingame_menu_item--;
|
||||
else
|
||||
g_console.ingame_menu_item = MENU_ITEM_LAST - 1;
|
||||
}
|
||||
|
||||
if(input & (1 << RMENU_DEVICE_NAV_DOWN))
|
||||
{
|
||||
if(g_console.ingame_menu_item < (MENU_ITEM_LAST-1))
|
||||
g_console.ingame_menu_item++;
|
||||
else
|
||||
g_console.ingame_menu_item = 0;
|
||||
}
|
||||
|
||||
if((input & (1 << RMENU_DEVICE_NAV_L3)) && (input & (1 << RMENU_DEVICE_NAV_R3)))
|
||||
|
Loading…
Reference in New Issue
Block a user