Skip to content

BASE: Add EVENT_EXIT_FROM_LAUNCHER #6537

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

Closed
wants to merge 1 commit into from

Conversation

mikrosk
Copy link
Contributor

@mikrosk mikrosk commented Apr 5, 2025

Backends may find this useful for various checks done just before launching engine code.

Personally I have used hacks in my backend's OSystem::hideOverlay, OSystem::endGFXTransaction and OSystem::updateScreen but even those were not always reliable (let alone elegant) so I'm proposing this simple solution.

Backends may find this useful for various checks done just before
launching engine code.
@lephilousophe
Copy link
Member

Can't you override the engineInit() and engineDone() functions?
That's what I used on the Android.

@mikrosk
Copy link
Contributor Author

mikrosk commented Apr 5, 2025

I can and I did -- thank you for the great advice, I had completely overlooked this function.

@mikrosk mikrosk closed this Apr 5, 2025
@mikrosk mikrosk deleted the event_exit_from_launcher branch April 5, 2025 08:50
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