mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
When RA dol file launched from Wiiflow, getcwd return nothing, dirs[DEFAULT_DIR_CORE] is empty and RA "info", "autoconfig",.... dirs are on root / This seems to be because argv[0] is starting with "usb1://...dol" (maybe incompatible libfat) This patch allow to default dirs[DEFAULT_DIR_CORE] on Wii to the dirname of the DOL in such cases.