mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-24 15:41:39 +00:00
filesystem: Added SDL_GetExeName().
core/unix had a more-limited copy of filesystem/unix's implementation, called SDL_GetExeName(). Replace that with a real implementation in filesystem, and allow each platform to implement it as appropriate. Implemented for Unix and Windows; most implementations are currently FIXME stubs at the moment. Reference Issue #15692.
This commit is contained in:
@@ -34,6 +34,11 @@ char *SDL_SYS_GetBasePath(void)
|
||||
return SDL_strdup("assets://");
|
||||
}
|
||||
|
||||
char *SDL_SYS_GetExeName(void)
|
||||
{
|
||||
return NULL; // !!! FIXME: probably just use the Linux path?
|
||||
}
|
||||
|
||||
char *SDL_SYS_GetPrefPath(const char *org, const char *app)
|
||||
{
|
||||
const char *path = SDL_GetAndroidInternalStoragePath();
|
||||
|
||||
Reference in New Issue
Block a user