mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 04:21:13 +00:00
Prevent calls to menu_driver_navigation_set inside menu drivers -
can just call the accompanied function internally
This commit is contained in:
parent
b52577aac1
commit
40ef5f7e65
@ -6014,7 +6014,7 @@ static int rgui_pointer_up(void *data,
|
|||||||
/* Otherwise, just move the current selection to the
|
/* Otherwise, just move the current selection to the
|
||||||
* 'pointer' value */
|
* 'pointer' value */
|
||||||
menu_navigation_set_selection(ptr);
|
menu_navigation_set_selection(ptr);
|
||||||
menu_driver_navigation_set(false);
|
rgui_navigation_set(rgui, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4415,7 +4415,7 @@ static int stripes_pointer_up(void *userdata,
|
|||||||
entry, selection, MENU_ACTION_SELECT);
|
entry, selection, MENU_ACTION_SELECT);
|
||||||
|
|
||||||
menu_navigation_set_selection(ptr);
|
menu_navigation_set_selection(ptr);
|
||||||
menu_driver_navigation_set(false);
|
stripes_navigation_set(stripes, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -7043,7 +7043,7 @@ static int xmb_pointer_up(void *userdata,
|
|||||||
|
|
||||||
/* ...otherwise navigate to the current pointer item */
|
/* ...otherwise navigate to the current pointer item */
|
||||||
menu_navigation_set_selection(ptr);
|
menu_navigation_set_selection(ptr);
|
||||||
menu_driver_navigation_set(false);
|
xmb_navigation_set(xmb, false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case MENU_INPUT_GESTURE_LONG_PRESS:
|
case MENU_INPUT_GESTURE_LONG_PRESS:
|
||||||
@ -7091,7 +7091,7 @@ static int xmb_pointer_up(void *userdata,
|
|||||||
if (last < end)
|
if (last < end)
|
||||||
{
|
{
|
||||||
menu_navigation_set_selection((size_t)last);
|
menu_navigation_set_selection((size_t)last);
|
||||||
menu_driver_navigation_set(true);
|
xmb_navigation_set(xmb, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
menu_driver_ctl(MENU_NAVIGATION_CTL_SET_LAST, NULL);
|
menu_driver_ctl(MENU_NAVIGATION_CTL_SET_LAST, NULL);
|
||||||
@ -7141,7 +7141,7 @@ static int xmb_pointer_up(void *userdata,
|
|||||||
if (new_idx > 0)
|
if (new_idx > 0)
|
||||||
{
|
{
|
||||||
menu_navigation_set_selection(new_idx);
|
menu_navigation_set_selection(new_idx);
|
||||||
menu_driver_navigation_set(true);
|
xmb_navigation_set(xmb, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user