[psp] fix dir creation again, use ms0:/psp/ as basedir

This commit is contained in:
radius 2016-09-04 03:03:30 -05:00
parent 831cd6d7a1
commit 1e550dea56

View File

@ -90,8 +90,7 @@ static void frontend_psp_get_environment_settings(int *argc, char *argv[],
strlcpy(g_defaults.dir.port, eboot_path, sizeof(g_defaults.dir.port));
#else
strlcpy(eboot_path, argv[0], sizeof(eboot_path));
/* PSP mkdir doesn't like trailing slashes, make sure to not include one*/
strlcpy(user_path, "ms0:/retroarch", sizeof(eboot_path));
strlcpy(user_path, "ms0:/psp/retroarch/", sizeof(user_path));
fill_pathname_basedir(g_defaults.dir.port, argv[0], sizeof(g_defaults.dir.port));
#endif
RARCH_LOG("port dir: [%s]\n", g_defaults.dir.port);