mirror of
https://github.com/libretro/RetroArch
synced 2025-02-08 06:40:14 +00:00
Change function signature of event_command
This commit is contained in:
parent
fa0011feca
commit
4e0a3cc6c2
@ -81,7 +81,7 @@ const ui_companion_driver_t *ui_companion_get_ptr(void)
|
||||
return driver->ui_companion;
|
||||
}
|
||||
|
||||
void ui_companion_event_command(unsigned action)
|
||||
void ui_companion_event_command(enum event_command action)
|
||||
{
|
||||
driver_t *driver = driver_get_ptr();
|
||||
const ui_companion_driver_t *ui = ui_companion_get_ptr();
|
||||
|
@ -36,7 +36,7 @@ typedef struct ui_companion_driver
|
||||
void (*deinit)(void *data);
|
||||
int (*iterate)(void *data, unsigned action);
|
||||
void (*toggle)(void *data);
|
||||
void (*event_command)(void *data, unsigned action);
|
||||
void (*event_command)(void *data, enum event_command action);
|
||||
void (*notify_content_loaded)(void *data);
|
||||
|
||||
const char *ident;
|
||||
@ -68,7 +68,7 @@ const ui_companion_driver_t *ui_companion_get_ptr(void);
|
||||
**/
|
||||
const ui_companion_driver_t *ui_companion_init_first(void);
|
||||
|
||||
void ui_companion_event_command(unsigned action);
|
||||
void ui_companion_event_command(enum event_command action);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user