mirror of
https://github.com/libretro/RetroArch
synced 2025-03-15 04:21:31 +00:00
Change signature of event_command too
This commit is contained in:
parent
98ade89759
commit
fb4f5c9331
@ -936,7 +936,7 @@ static bool event_update_system_info(struct retro_system_info *_info,
|
||||
*
|
||||
* Returns: true (1) on success, otherwise false (0).
|
||||
**/
|
||||
bool event_command(unsigned cmd)
|
||||
bool event_command(enum event_command cmd)
|
||||
{
|
||||
unsigned i = 0;
|
||||
bool boolean = false;
|
||||
@ -1614,6 +1614,8 @@ bool event_command(unsigned cmd)
|
||||
case EVENT_CMD_VOLUME_DOWN:
|
||||
event_set_volume(-0.5f);
|
||||
break;
|
||||
case EVENT_CMD_NONE:
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -247,7 +247,7 @@ void event_disk_control_append_image(const char *path);
|
||||
*
|
||||
* Returns: true (1) on success, otherwise false (0).
|
||||
**/
|
||||
bool event_command(unsigned action);
|
||||
bool event_command(enum event_command action);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user