devkitPro / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
11 stars 12 forks source link

ogc: implement SDL_GetBasePath() using getcwd() #42

Closed mardy closed 6 months ago

mardy commented 6 months ago

Instead of hardcoding a path, let's use the current directory. Note that paths returned by getcwd() don't have a trailing slash, but those returned by SDL_GetBasePath() must have it.