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 scrollable by propagating g_input by default. #427

Merged

Conversation

mrhappyasthma
Copy link
Contributor

Scrollable was crashing because we were dereferencing input when it could be nullptr. To make the code more fault tolerant, I added checks to make sure input is valid before dereferencing.

But the more important change is to propagate g_input by default.

This gets the app into a fully functional state.

Scrollable was crashing because we were dereferencing `input` when it could be `nullptr`. To make the code more fault tolerant, I added checks to make sure `input` is valid before dereferencing.

But the more important change is to propagate `g_input` by default.
@mrhappyasthma
Copy link
Contributor Author

mrhappyasthma commented Nov 10, 2021

I tested with joycons and with tapping the touchscreen, and the scrollable list works. I backed up some saves and such too. Everything seemed to be working.

@BernardoGiordano BernardoGiordano merged commit 434cc5d into BernardoGiordano:fix_compilation Nov 11, 2021
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.

2 participants