mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
(DInput) Buildfix
This commit is contained in:
parent
22f85b11df
commit
1c07ae1e5a
@ -544,12 +544,11 @@ static int16_t dinput_input_state(void *data,
|
|||||||
int16_t ret;
|
int16_t ret;
|
||||||
struct dinput_input *di = (struct dinput_input*)data;
|
struct dinput_input *di = (struct dinput_input*)data;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
enum input_device_type type = INPUT_DEVICE_TYPE_NONE;
|
|
||||||
|
|
||||||
switch (device)
|
switch (device)
|
||||||
{
|
{
|
||||||
case RETRO_DEVICE_JOYPAD:
|
case RETRO_DEVICE_JOYPAD:
|
||||||
return dinput_is_pressed(di, binds[port], port, id, &type);
|
return dinput_is_pressed(di, binds[port], port, id);
|
||||||
|
|
||||||
case RETRO_DEVICE_KEYBOARD:
|
case RETRO_DEVICE_KEYBOARD:
|
||||||
return dinput_keyboard_pressed(di, id);
|
return dinput_keyboard_pressed(di, id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user