diff --git a/input/input_driver.c b/input/input_driver.c index 250f57a758..27ff711f98 100644 --- a/input/input_driver.c +++ b/input/input_driver.c @@ -4741,7 +4741,7 @@ int16_t input_state_internal(unsigned port, unsigned device, return result; } -int16_t input_state_wrapper(unsigned port, unsigned device, +int16_t input_driver_state_wrapper(unsigned port, unsigned device, unsigned idx, unsigned id) { input_driver_state_t diff --git a/input/input_driver.h b/input/input_driver.h index 35c4092954..77737a2f81 100644 --- a/input/input_driver.h +++ b/input/input_driver.h @@ -1006,7 +1006,7 @@ void input_driver_poll(void); * Returns: Non-zero if the given key (identified by @id) * was pressed by the user (assigned to @port). **/ -int16_t input_state_wrapper(unsigned port, unsigned device, +int16_t input_driver_state_wrapper(unsigned port, unsigned device, unsigned idx, unsigned id); extern input_device_driver_t *joypad_drivers[]; diff --git a/retroarch.c b/retroarch.c index 23260a32b5..e4942780a5 100644 --- a/retroarch.c +++ b/retroarch.c @@ -25724,7 +25724,7 @@ static int16_t core_input_state_poll_late(unsigned port, input_driver_poll(); p_rarch->current_core.input_polled = true; - return input_state_wrapper(port, device, idx, id); + return input_driver_state_wrapper(port, device, idx, id); } static retro_input_state_t core_input_state_poll_return_cb(void) @@ -25737,7 +25737,7 @@ static retro_input_state_t core_input_state_poll_return_cb(void) : p_rarch->current_core.poll_type; if (new_poll_type == POLL_TYPE_LATE) return core_input_state_poll_late; - return input_state_wrapper; + return input_driver_state_wrapper; } static void core_input_state_poll_maybe(void)