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 android app data path #314

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Fix android app data path #314

merged 2 commits into from
Oct 17, 2023

Conversation

OFFTKP
Copy link
Collaborator

@OFFTKP OFFTKP commented Oct 17, 2023

Also AndroidNdkModules didn't exist in my installation (may be an Archlinux NDK package thing), but its only included for a small macro android_ndk_import_module_cpufeatures, so I just replaced it with its definition, see https://android.googlesource.com/platform/external/android-cmake/+/refs/heads/upstream-master/AndroidNdkModules.cmake

@OFFTKP
Copy link
Collaborator Author

OFFTKP commented Oct 17, 2023

SDL_GetPrefPath would fail on android for me with "Could not find JNI environment" or something similar, but this /data/data// path is the equivalent of what we want here (and I think what GetPrefPath would return anyway)

@OFFTKP OFFTKP merged commit afa2bbf into wheremyfoodat:master Oct 17, 2023
8 checks passed
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