Fix path issue running tests on Linux.

No trailing slash.  Doesn't hurt Windows to have an extra one.
This commit is contained in:
Unknown W. Brackets 2014-08-30 22:38:19 -07:00
parent cdbcc12a4e
commit 8e14dc1acd

View File

@ -252,7 +252,7 @@ bool Load_PSP_ELF_PBP(const char *filename, std::string *error_string)
const std::string filepath = ReplaceAll(pathNorm.substr(rootNorm.size()), "\\", "/"); const std::string filepath = ReplaceAll(pathNorm.substr(rootNorm.size()), "\\", "/");
file = filepath + "/" + file; file = filepath + "/" + file;
path = rootNorm; path = rootNorm + "/";
pspFileSystem.SetStartingDirectory(filepath); pspFileSystem.SetStartingDirectory(filepath);
} }