This PR adds turbo A and B buttons, mapped respectively (by default) to RetroPad X and Y. The repeat interval can be set via a new Turbo Button Period core option.
In addition, this PR optimises fetching of the input state. At present, libretro inputs are queried (repeatedly) many times per frame, which is highly wasteful, Now the input state is determined only once per frame (directly after input_poll_cb()), and 'internal' queries read the cached state value.
This PR adds turbo A and B buttons, mapped respectively (by default) to RetroPad X and Y. The repeat interval can be set via a new
Turbo Button Period
core option.In addition, this PR optimises fetching of the input state. At present, libretro inputs are queried (repeatedly) many times per frame, which is highly wasteful, Now the input state is determined only once per frame (directly after
input_poll_cb()
), and 'internal' queries read the cached state value.Closes #165