Fix remaining crash on OSX
This commit is contained in:
parent
8ce882c829
commit
90fbc09f82
|
@ -289,10 +289,11 @@ static int16_t cocoa_input_state(void *data,
|
||||||
break;
|
break;
|
||||||
case RETRO_DEVICE_ANALOG:
|
case RETRO_DEVICE_ANALOG:
|
||||||
#ifdef HAVE_MFI
|
#ifdef HAVE_MFI
|
||||||
ret = input_joypad_analog(apple->sec_joypad, port,
|
if (binds[port])
|
||||||
|
ret = input_joypad_analog(apple->sec_joypad, port,
|
||||||
idx, id, binds[port]);
|
idx, id, binds[port]);
|
||||||
if (!ret && binds[port])
|
|
||||||
#endif
|
#endif
|
||||||
|
if (!ret && binds[port])
|
||||||
ret = input_joypad_analog(apple->joypad, port,
|
ret = input_joypad_analog(apple->joypad, port,
|
||||||
idx, id, binds[port]);
|
idx, id, binds[port]);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue