Merge pull request #11073 from barbudreadmon/patch-6

psl1ght_input.c: fix typo
This commit is contained in:
Autechre 2020-07-24 19:12:10 +02:00 committed by GitHub
commit 35183c1fbb
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)