psl1ght_input.c: fix typo

This commit is contained in:
barbudreadmon 2020-07-24 17:37:07 +02:00 committed by GitHub
parent d93cf0d9dc
commit 6521eb980b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,7 +429,7 @@ static int16_t ps3_joypad_button(unsigned port, uint16_t joykey)
return 0;
state = transform_buttons(
&pad_state[port]);
return (state & (UINT64_C(1) << joykey);
return (state & (UINT64_C(1) << joykey));
}
static void ps3_joypad_get_buttons(unsigned port, input_bits_t *state)