Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raw_mouse: Fix button map out of bounds access #15855

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Conversation

Megamouse
Copy link
Contributor

Fixes button map out of bounds access in the raw mouse handler.

  • Reload the mouse config when the index changes.
  • Clear the button map before reloading the config.
  • Check if the button really is in the map.

Probably fixes #15832

- Reload the mouse config when the index changes.
- Clear the button map before reloading the config.
- Check if the button really is in the map.
@Megamouse Megamouse merged commit 56b6b7e into RPCS3:master Jul 31, 2024
6 checks passed
@Megamouse Megamouse deleted the mouse branch July 31, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RAW mouse causes out of range error in GUI and ingame.
1 participant