Skip to content

Commit

Permalink
(X11) Buildfix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Jun 13, 2020
1 parent 9d65f7e commit 5b81b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/drivers/x11_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ static int16_t x_input_state(void *data,
return x11->mouse_y - x11->mouse_last_y;
case RETRO_DEVICE_ID_LIGHTGUN_PAUSE:
{
unsigned new_id = RARCH_LIGHTGUN_PAUSE;
unsigned new_id = RARCH_LIGHTGUN_START;
if (!input_x.keyboard_mapping_blocked)
if ((binds[port][new_id].key < RETROK_LAST)
&& x_keyboard_pressed(x11, binds[port]
Expand Down

0 comments on commit 5b81b68

Please sign in to comment.