SDL icon indicating copy to clipboard operation
SDL copied to clipboard

SDL3: Document that the `override` parameter of `SDL_OpenTitleStorage()` requires a path separator on the end

Open nightmareci opened this issue 1 year ago • 0 comments

I sometimes have to override the title storage root in my project, e.g. supporting Linux package manager setups having title storage installed into /usr/share/game_name, and ran into some confusing errors in the process, concluding that I didn't include a path separator on the end of the override path. I think that requirement should be documented in SDL's documentation, to help people in the future not have to deal with the issue.

Other functions taking directory paths might have the same requirement, in SDL_storage.h, or in other headers; where required, document the requirement, of course.

nightmareci avatar Oct 22 '24 17:10 nightmareci