mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Avoid breaking autoconfig when inside a push/pop d-pad emulation block.
This commit is contained in:
parent
e8d123fdf5
commit
50ac407a9a
@ -1128,8 +1128,10 @@ void input_config_parse_joy_axis(config_file_t *conf, const char *prefix,
|
|||||||
bind->joyaxis = AXIS_POS(axis);
|
bind->joyaxis = AXIS_POS(axis);
|
||||||
else
|
else
|
||||||
bind->joyaxis = AXIS_NEG(axis);
|
bind->joyaxis = AXIS_NEG(axis);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure that d-pad emulation doesn't screw this over.
|
||||||
|
bind->orig_joyaxis = bind->joyaxis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user