Avoid breaking autoconfig when inside a push/pop d-pad emulation block.

This commit is contained in:
Themaister 2014-06-11 15:47:20 +02:00
parent e8d123fdf5
commit 50ac407a9a

View File

@ -1128,8 +1128,10 @@ void input_config_parse_joy_axis(config_file_t *conf, const char *prefix,
bind->joyaxis = AXIS_POS(axis);
else
bind->joyaxis = AXIS_NEG(axis);
}
// Ensure that d-pad emulation doesn't screw this over.
bind->orig_joyaxis = bind->joyaxis;
}
}