Add slider to change crosshair size and a core option for the Libretro core #1304
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For standalone I made a slider going from 10 to 100 with 40 being the default, the slider will be greyed out until at least 1 "Crosshair" box is checked:
xhair_size.mp4
For Libretro I made a scaling option going from 50% to 300%:
lr-xhair_size.mp4
For standalone code I wasn't sure how to handle
So I simply replaced every instances of these with
config::CrosshairSize
, I hope this is fine... If this is not OK with you and you prefer to handle the standalone stuff yourself please tell me, I'll update the PR to keep the Libretro commit only ;)