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

Fix null pointer dereference #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OmnipotentEntity
Copy link
Contributor

@OmnipotentEntity OmnipotentEntity commented Sep 25, 2023

For some reason, line 439 was giving me a null pointer dereference when I didn't have my pads hooked up (possibly also when I did? I didn't test that far). This may also be related to doing a drastic update for my base computer. I didn't try to narrow down exactly why. This patch fixes the null pointer dereference; however, I do not know for certain that there isn't something wrong going on here that would require a bail instead of a skip. After the patch my arcade's top buttons seem to function fine, and I haven't tested anything else.

This possibly addresses the same issue as #18 but in a different manner, but my dumb ass didn't find that PR or the other issue regarding it until after I manually hunted down the error and created a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant