Improve sceIo to pass io autotest.

io/io, io/cwd, io/directory ok
io/file still have a file mode fail
This commit is contained in:
Xele02 2013-01-21 00:20:48 +01:00
parent 784c191caf
commit 3825df5c6a
7 changed files with 105 additions and 43 deletions

View file

@ -129,7 +129,7 @@ bool Load_PSP_ELF_PBP(const char *filename, std::string *error_string)
path = ReplaceAll(path, "/", "\\");
#endif
DirectoryFileSystem *fs = new DirectoryFileSystem(&pspFileSystem, path);
pspFileSystem.Mount("umd0:/", fs);
pspFileSystem.Mount("umd0:", fs);
std::string finalName = "umd0:/" + file + extension;
return __KernelLoadExec(finalName.c_str(), 0, error_string);