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 delayed game switch #782

Merged
merged 1 commit into from
Sep 27, 2022
Merged

Conversation

Daft-Freak
Copy link
Collaborator

The previous check was unreliable, it's still possible we were called from user code when it's disabled (launch from SD will disable user code to flash before calling this).

Replace the check with a bool set around calling tick, which should always be accurate. (Unless someone attempts to launch from render...)

This reliably crashed my blithub downloader, but doesn't seem to break the launcher even though it should...

The previous check was unreliable, it's still possible we were called from user code when it's disabled (launch from SD will disable to flash).
@Gadgetoid Gadgetoid merged commit 65d0bfd into 32blit:master Sep 27, 2022
@Gadgetoid
Copy link
Contributor

Thank you!

@Daft-Freak Daft-Freak deleted the game-switch-fix branch September 27, 2022 16:21
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