Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

mardy
Copy link
Collaborator

@mardy mardy commented Jan 19, 2024

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.

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.
@WinterMute WinterMute merged commit b4816ba into devkitPro:ogc-sdl-2.28 Jan 20, 2024
14 checks passed
WinterMute pushed a commit that referenced this pull request Jan 20, 2024
WinterMute pushed a commit that referenced this pull request Oct 27, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants