mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Merge pull request #11550 from sonninnos/turbomode-fix
Refresh turbo button selection in 'Single Button'
This commit is contained in:
commit
f502abf166
@ -329,7 +329,7 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_mouse_scale, MENU_ENUM_SUBLABE
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_axis_threshold, MENU_ENUM_SUBLABEL_INPUT_BUTTON_AXIS_THRESHOLD)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_turbo_period, MENU_ENUM_SUBLABEL_INPUT_TURBO_PERIOD)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_duty_cycle, MENU_ENUM_SUBLABEL_INPUT_DUTY_CYCLE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_turbo_mode, MENU_ENUM_SUBLABEL_INPUT_TURBO_MODE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_turbo_mode, MENU_ENUM_SUBLABEL_INPUT_TURBO_MODE)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_input_turbo_default_button, MENU_ENUM_SUBLABEL_INPUT_TURBO_DEFAULT_BUTTON)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_video_vertical_sync, MENU_ENUM_SUBLABEL_VIDEO_VSYNC)
|
||||
DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_video_adaptive_vsync, MENU_ENUM_SUBLABEL_VIDEO_ADAPTIVE_VSYNC)
|
||||
|
@ -24871,7 +24871,8 @@ static int16_t input_state_device(
|
||||
{
|
||||
p_rarch->input_driver_turbo_btns.turbo_pressed[port] |= (1 << 31);
|
||||
/* 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[]={
|
||||
RETRO_DEVICE_ID_JOYPAD_B,
|
||||
|
Loading…
x
Reference in New Issue
Block a user