mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
Change signature of menu_entry_action
This commit is contained in:
parent
83f3847b30
commit
e75c061bce
@ -447,7 +447,7 @@ int menu_entry_iterate(unsigned action)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int menu_entry_action(menu_entry_t *entry, unsigned i, unsigned action)
|
||||
int menu_entry_action(menu_entry_t *entry, unsigned i, enum menu_action action)
|
||||
{
|
||||
menu_navigation_t *nav = menu_navigation_get_ptr();
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
|
@ -116,7 +116,8 @@ int menu_entry_iterate(unsigned action);
|
||||
|
||||
int menu_entry_select(uint32_t i);
|
||||
|
||||
int menu_entry_action(menu_entry_t *entry, unsigned i, unsigned action);
|
||||
int menu_entry_action(menu_entry_t *entry,
|
||||
unsigned i, enum menu_action action);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum
|
||||
typedef enum menu_action
|
||||
{
|
||||
MENU_ACTION_UP,
|
||||
MENU_ACTION_DOWN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user