all repos — mgba @ 274d55e5ab97fd3ff8b7d07f42d94c8d5b35dd3e

mGBA Game Boy Advance Emulator

PSP2: Fix base paths for drives in HENkaku
Jeffrey Pfau jeffrey@endrift.com
Sat, 30 Jul 2016 16:46:00 -0700
commit

274d55e5ab97fd3ff8b7d07f42d94c8d5b35dd3e

parent

ce8db376346cfabd1c4efdc8eef6d1d64450cca1

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/core/config.csrc/core/config.c

@@ -207,7 +207,7 @@ }

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);
M src/platform/psp2/sce-vfs.csrc/platform/psp2/sce-vfs.c

@@ -137,7 +137,7 @@ sceIoWrite(vfsce->fd, buffer, 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) {