devkitPro / 3ds-hbmenu

The 3DS Homebrew Menu (∩ ͡° ͜ʖ ͡°)⊃━☆゚
715 stars 75 forks source link

Ensure path seperator between dirname and filename #89

Closed oreo639 closed 1 year ago

oreo639 commented 1 year ago

Previously new-hbmenu assumed that dirname always ended with a '/'. This used to be the case with devkitARM, however this is not portable, and on for example, linux the path does not end in a '/'.

Recently devkitARM was changed to ensure that the path never ends in '/'. https://github.com/devkitPro/newlib/commit/806a4d34c5408d393dbd2b6b9cae22184c57d3a8