mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
(OSX) Buildfix
This commit is contained in:
parent
8cc220a4d2
commit
88a93dc648
@ -335,7 +335,7 @@ static int16_t cocoa_input_state(void *data,
|
|||||||
int16_t ret = 0;
|
int16_t ret = 0;
|
||||||
for (i = 0; i < RARCH_FIRST_CUSTOM_BIND; i++)
|
for (i = 0; i < RARCH_FIRST_CUSTOM_BIND; i++)
|
||||||
{
|
{
|
||||||
if (apple_key_state[rarch_keysym_lut[binds[i].key]])
|
if (apple_key_state[rarch_keysym_lut[binds[port][i].key]])
|
||||||
return 1;
|
return 1;
|
||||||
if (cocoa_is_pressed(
|
if (cocoa_is_pressed(
|
||||||
apple->joypad, apple->sec_joypad,
|
apple->joypad, apple->sec_joypad,
|
||||||
@ -347,7 +347,7 @@ static int16_t cocoa_input_state(void *data,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (id < RARCH_BIND_LIST_END)
|
if (id < RARCH_BIND_LIST_END)
|
||||||
if (apple_key_state[rarch_keysym_lut[binds[id].key]])
|
if (apple_key_state[rarch_keysym_lut[binds[port][id].key]])
|
||||||
return 1;
|
return 1;
|
||||||
return cocoa_is_pressed(
|
return cocoa_is_pressed(
|
||||||
apple->joypad, apple->sec_joypad,
|
apple->joypad, apple->sec_joypad,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user