mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 18:28:31 +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)
|
||||
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(
|
||||
x,
|
||||
@ -1214,6 +1210,10 @@ static int zarch_iterate(enum menu_action action)
|
||||
if (perform_action)
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user