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

Fixes for targeting API 33 #151

Open
wants to merge 3 commits into
base: sdl_android
Choose a base branch
from

Conversation

MVoloshin
Copy link

@pelya , I needed these changes in order to run Bochs (built with SDL 1.2) on Android 11+ while targeting API 33 (Android 13). I cannot guarantee that it's suitable for pelya/commandergenius in general, so please check once you have possibility to do so.

P.S. Good luck, health and Happy New Year

Fixes fatal exception because of missing FLAG_MUTABLE or FLAG_IMMUTABLE on Android 12+ (SDL v1.2)
Fixes "libSDL: WRITE permission denied" errors on Android 11+. As requesting WRITE_EXTERNAL_STORAGE silently fails (without showing a window), we have to request MANAGE_EXTERNAL_STORAGE permission instead, so application asks for r/w storage access on startup
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