diff --git a/src/core/config.c b/src/core/config.c index 07b3a7cb3..c83def2cf 100644 --- a/src/core/config.c +++ b/src/core/config.c @@ -207,7 +207,7 @@ void mCoreConfigDirectory(char* out, size_t outLength) { WideCharToMultiByte(CP_UTF8, 0, wpath, -1, out, outLength, 0, 0); #elif defined(PSP2) UNUSED(portable); - snprintf(out, outLength, "cache0:/%s", projectName); + snprintf(out, outLength, "ux0:/%s", projectName); sceIoMkdir(out, 0777); #elif defined(GEKKO) UNUSED(portable); diff --git a/src/platform/psp2/sce-vfs.c b/src/platform/psp2/sce-vfs.c index 2dac02319..89adf4152 100644 --- a/src/platform/psp2/sce-vfs.c +++ b/src/platform/psp2/sce-vfs.c @@ -137,7 +137,7 @@ bool _vfsceSync(struct VFile* vf, const void* buffer, size_t size) { sceIoLseek(vfsce->fd, cur, SEEK_SET); } // TODO: Get the right device - return sceIoSync("cache0:", 0) >= 0; + return sceIoSync("ux0:", 0) >= 0; } struct VDir* VDirOpen(const char* path) {