mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Cleanups
This commit is contained in:
parent
13a3bfeee7
commit
d443ac53ef
@ -131,7 +131,6 @@ typedef struct menu_input
|
|||||||
} delay;
|
} delay;
|
||||||
} menu_input_t;
|
} menu_input_t;
|
||||||
|
|
||||||
static menu_ctx_iterate_t menu_input_frame;
|
|
||||||
static unsigned bind_port;
|
static unsigned bind_port;
|
||||||
|
|
||||||
static menu_input_t *menu_input_get_ptr(void)
|
static menu_input_t *menu_input_get_ptr(void)
|
||||||
@ -652,10 +651,11 @@ bool menu_input_ctl(enum menu_input_ctl_state state, void *data)
|
|||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
case MENU_INPUT_CTL_SET_FRAME_INPUT:
|
case MENU_INPUT_CTL_SET_FRAME_INPUT:
|
||||||
if (!data)
|
{
|
||||||
return false;
|
menu_ctx_iterate_t *iter = (menu_ctx_iterate_t*)data;
|
||||||
memcpy(&menu_input_frame,
|
if (!iter)
|
||||||
data, sizeof(menu_ctx_iterate_t));
|
return false;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case MENU_INPUT_CTL_BIND_SET_MIN_MAX:
|
case MENU_INPUT_CTL_BIND_SET_MIN_MAX:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user