File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -443,11 +443,11 @@ static int process_command_args(commandline_options& cmdline_opts)
443443 }
444444 } else {
445445#if defined(__ANDROID__) && !defined(WESNOTH_PATH)
446- if (const char * ext_path = SDL_AndroidGetExternalStoragePath ()) {
446+ if (const char * ext_path = SDL_GetAndroidExternalStoragePath ()) {
447447 game_config::path = ext_path + std::string (" /gamedata" );
448448 PLAIN_LOG << " Determined game data directory: " << game_config::path;
449449 } else {
450- PLAIN_LOG << " Cannot find game data directory, specify one with --data-dir. SDL_AndroidGetExternalStoragePath () failed: " << SDL_GetError ();
450+ PLAIN_LOG << " Cannot find game data directory, specify one with --data-dir. SDL_GetAndroidExternalStoragePath () failed: " << SDL_GetError ();
451451 }
452452#endif
453453 // if a pre-defined path does not exist this will empty it
You can’t perform that action at this time.
0 commit comments