mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 12:40:09 +00:00
Try to prevent another crash
This commit is contained in:
parent
ef2e0ead84
commit
26547be5ed
@ -493,6 +493,7 @@ static int16_t dinput_input_state(void *data,
|
|||||||
return dinput_keyboard_pressed(di, id);
|
return dinput_keyboard_pressed(di, id);
|
||||||
|
|
||||||
case RETRO_DEVICE_ANALOG:
|
case RETRO_DEVICE_ANALOG:
|
||||||
|
if (binds[port])
|
||||||
ret = dinput_pressed_analog(di, binds[port], idx, id);
|
ret = dinput_pressed_analog(di, binds[port], idx, id);
|
||||||
if (!ret && binds[port])
|
if (!ret && binds[port])
|
||||||
ret = input_joypad_analog(di->joypad, port,
|
ret = input_joypad_analog(di->joypad, port,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user