mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Move input code to zarch_Iterate
This commit is contained in:
parent
4c47b7c83d
commit
e230379fe0
@ -225,10 +225,6 @@ static void zui_finish(zui_t *zui,
|
|||||||
if (!gl)
|
if (!gl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!menu_input_mouse_state(MENU_MOUSE_LEFT_BUTTON))
|
|
||||||
zui->item.active = 0;
|
|
||||||
else if (zui->item.active == 0)
|
|
||||||
zui->item.active = -1;
|
|
||||||
|
|
||||||
menu_display_draw_frame(
|
menu_display_draw_frame(
|
||||||
x,
|
x,
|
||||||
@ -1214,6 +1210,10 @@ static int zarch_iterate(enum menu_action action)
|
|||||||
if (perform_action)
|
if (perform_action)
|
||||||
ret = menu_entry_action(&entry, zui->entries_selection, act);
|
ret = menu_entry_action(&entry, zui->entries_selection, act);
|
||||||
|
|
||||||
|
if (!menu_input_mouse_state(MENU_MOUSE_LEFT_BUTTON))
|
||||||
|
zui->item.active = 0;
|
||||||
|
else if (zui->item.active == 0)
|
||||||
|
zui->item.active = -1;
|
||||||
|
|
||||||
if (zui->time_to_exit)
|
if (zui->time_to_exit)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user