mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(Menu) Can now exit 'Info' message by pressing right mouse button
This commit is contained in:
parent
fdcef6cfc2
commit
509f2267c7
@ -206,11 +206,12 @@ static int action_iterate_help(const char *label, unsigned action)
|
|||||||
|
|
||||||
menu_input_post_iterate(&ret, action);
|
menu_input_post_iterate(&ret, action);
|
||||||
|
|
||||||
return 0;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int action_iterate_info(const char *label, unsigned action)
|
static int action_iterate_info(const char *label, unsigned action)
|
||||||
{
|
{
|
||||||
|
int ret = 0;
|
||||||
char msg[PATH_MAX_LENGTH];
|
char msg[PATH_MAX_LENGTH];
|
||||||
char needle[PATH_MAX_LENGTH];
|
char needle[PATH_MAX_LENGTH];
|
||||||
unsigned info_type = 0;
|
unsigned info_type = 0;
|
||||||
@ -251,7 +252,9 @@ static int action_iterate_info(const char *label, unsigned action)
|
|||||||
if (action == MENU_ACTION_OK)
|
if (action == MENU_ACTION_OK)
|
||||||
menu_list_pop(menu_list->menu_stack, &menu->navigation.selection_ptr);
|
menu_list_pop(menu_list->menu_stack, &menu->navigation.selection_ptr);
|
||||||
|
|
||||||
return 0;
|
menu_input_post_iterate(&ret, action);
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int action_iterate_load_open_zip(const char *label, unsigned action)
|
static int action_iterate_load_open_zip(const char *label, unsigned action)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user