mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Dinput) Another buildfix
This commit is contained in:
parent
e99fda4d1f
commit
5b55b35210
@ -550,12 +550,12 @@ static int16_t dinput_input_state(void *data,
|
||||
int16_t ret;
|
||||
struct dinput_input *di = (struct dinput_input*)data;
|
||||
settings_t *settings = config_get_ptr();
|
||||
enum input_device_type device = INPUT_DEVICE_TYPE_NONE;
|
||||
enum input_device_type type = INPUT_DEVICE_TYPE_NONE;
|
||||
|
||||
switch (device)
|
||||
{
|
||||
case RETRO_DEVICE_JOYPAD:
|
||||
return dinput_is_pressed(di, binds[port], port, id, &device);
|
||||
return dinput_is_pressed(di, binds[port], port, id, &type);
|
||||
|
||||
case RETRO_DEVICE_KEYBOARD:
|
||||
return dinput_keyboard_pressed(di, id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user