mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(PS2) Buildfix
This commit is contained in:
parent
246fcf36d8
commit
0f18df5d66
@ -88,9 +88,9 @@ static int16_t ps2_input_state(void *data,
|
||||
? binds[port][id].joyaxis : joypad_info.auto_binds[id].joyaxis;
|
||||
|
||||
if ((uint16_t)joykey != NO_BTN && ps2->joypad->button(joypad_info.joy_idx, (uint16_t)joykey))
|
||||
return ret;
|
||||
return true;
|
||||
if (((float)abs(ps2->joypad->axis(joypad_info.joy_idx, joyaxis)) / 0x8000) > joypad_info.axis_threshold)
|
||||
return ret;
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case RETRO_DEVICE_ANALOG:
|
||||
|
Loading…
x
Reference in New Issue
Block a user