3 #include "SDL_filesystem.h"
10 char* base_path = SDL_GetBasePath();
11 if(base_path !=
nullptr)
13 std::string r = base_path;
26 char* base_path = SDL_GetPrefPath(
"madeso",
"euphoria demo");
27 if(base_path !=
nullptr)
29 std::string pref_path = base_path;
std::string get_base_path()
std::string get_preference_path()