mirror of https://github.com/mgba-emu/mgba.git
PSP2: Fix base paths for drives in HENkaku
This commit is contained in:
parent
ce8db37634
commit
274d55e5ab
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue