mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-12 04:53:52 -06:00
A drive is refused only at the start of a value, so a later segment such as ../C:x joins as a drive-relative path on Windows. Every manifest path now refuses a segment Windows reads as a drive and one ending with a colon. roms_directory, emulators_directory and the dests below them refuse any colon. Elsewhere a colon inside a name is kept where the host is not Windows: RetroDECK's ares reads bios/snes:st018.data.rom and bios/zxs:48.rom on Linux, three dests of install/retrodeck.json. A Windows host refuses them as alternate data streams. The roms root is also checked to stay below the BIOS folder's ancestor it climbs to.