ptitSeb
Serial Porter
Use relative path, and use '/' as seprator and you should be good.Quick question, I hear filepaths are different on Windows and Linux. Best way to account for this? I'm currently programming and testing on a Windows laptop, but I wanna make sure my code is Linux compatible for you guys and for when I finally get a Pyra. I noticed SDL2 does have an SDL_GetPlatform function, so at least I know how to detect the platform and call appropriate code accordingly.
Knowing my luck, I bet there's a bunch of other stuff to account for that I'm not even aware of yet.
Or use physfs or some other lib to abstract file access.