Merge pull request #11550 from sonninnos/turbomode-fix
Refresh turbo button selection in 'Single Button'
This commit is contained in:
commit
f502abf166
|
@ -24871,7 +24871,8 @@ static int16_t input_state_device(
|
||||||
{
|
{
|
||||||
p_rarch->input_driver_turbo_btns.turbo_pressed[port] |= (1 << 31);
|
p_rarch->input_driver_turbo_btns.turbo_pressed[port] |= (1 << 31);
|
||||||
/* Toggle turbo for selected buttons. */
|
/* Toggle turbo for selected buttons. */
|
||||||
if (!p_rarch->input_driver_turbo_btns.enable[port])
|
if (p_rarch->input_driver_turbo_btns.enable[port]
|
||||||
|
!= (1 << settings->uints.input_turbo_default_button))
|
||||||
{
|
{
|
||||||
static const int button_map[]={
|
static const int button_map[]={
|
||||||
RETRO_DEVICE_ID_JOYPAD_B,
|
RETRO_DEVICE_ID_JOYPAD_B,
|
||||||
|
|
Loading…
Reference in New Issue