(Cocoa) Fix keyboard input

This commit is contained in:
twinaphex 2020-09-14 19:38:52 +02:00
parent 0cb0635ddc
commit 8b18ae3018

View File

@ -398,9 +398,7 @@ static int16_t cocoa_input_state(
{
for (i = 0; i < RARCH_FIRST_CUSTOM_BIND; i++)
{
if (
(binds[port][i].key < RETROK_LAST) &&
apple_key_state[rarch_keysym_lut[binds[port][i].key]] & 0x80)
if (apple_key_state[rarch_keysym_lut[binds[port][i].key]])
ret |= (1 << i);
}
}