From 274d55e5ab97fd3ff8b7d07f42d94c8d5b35dd3e Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sat, 30 Jul 2016 16:46:00 -0700 Subject: [PATCH] PSP2: Fix base paths for drives in HENkaku --- src/core/config.c | 2 +- src/platform/psp2/sce-vfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {