mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-29 18:28:19 +03:00
The launcher and GameActivity previously ran in the same process. Native globals and library state therefore survived after returning to the launcher, leaking static data from one game to the next game. Run GameActivity in a private :game process and terminate it after SDL shutdown completes, so every game starts with fresh native state. Keep the launcher in the main process and refresh its game list from disk when it resumes.