diff --git a/src/misc.cxx b/src/misc.cxx index 665ad88..69dcdf5 100644 --- a/src/misc.cxx +++ b/src/misc.cxx @@ -113,9 +113,8 @@ GetShareDir () if (!basePath.size ()) { auto sdlBasePath = SDL_GetBasePath (); - auto platform = SDL_GetPlatform (); - if (platform && !strcmp (platform, "Android")) - sdlBasePath = SDL_strdup (SDL_AndroidGetInternalStoragePath ()); + if (!sdlBasePath) + sdlBasePath = SDL_strdup (""); sdlBasePath[strlen (sdlBasePath) - 1] = '\0';