mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Fix ps2_joypad compilation after refactor of the main driver
This commit is contained in:
parent
4ca1692174
commit
67e0a49941
@ -88,7 +88,7 @@ static int16_t ps2_joypad_button(unsigned port, uint16_t joykey)
|
||||
{
|
||||
if (port >= DEFAULT_MAX_PADS)
|
||||
return 0;
|
||||
return pad_state[port] & (UINT64_C(1) << i);
|
||||
return pad_state[port] & (UINT64_C(1) << joykey);
|
||||
}
|
||||
|
||||
static int16_t ps2_joypad_axis_state(unsigned port_num, uint32_t joyaxis)
|
||||
|
Loading…
x
Reference in New Issue
Block a user