natinusala / borealis

Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)
Apache License 2.0
254 stars 81 forks source link

Properly build file paths #130

Open natinusala opened 3 years ago

natinusala commented 3 years ago

File paths are created using string concatenation with hardcoded / path separator. This is bad. Paths should be platform agnostic and build properly instead of hardcoded like that.

It may be a good occasion to rework / replace the BRLS_ASSET macro, that maybe needs to be more than a macro.

Examples: