Input - turbocode - button ID is always below the threshold of

RARCH_FIRST_META_KEY, so put it inside the conditional
This commit is contained in:
twinaphex 2021-04-06 15:59:44 +02:00
parent 5cf2a7abd1
commit 2aea7a375d

View File

@ -22351,7 +22351,6 @@ static int16_t input_state_device(
} }
#endif #endif
} }
}
/* Don't allow turbo for D-pad. */ /* Don't allow turbo for D-pad. */
if ( (id < RETRO_DEVICE_ID_JOYPAD_UP) || if ( (id < RETRO_DEVICE_ID_JOYPAD_UP) ||
@ -22456,6 +22455,7 @@ static int16_t input_state_device(
p_rarch->input_driver_turbo_btns.enable[port] &= ~(1 << id); p_rarch->input_driver_turbo_btns.enable[port] &= ~(1 << id);
} }
} }
}
break; break;