diff --git a/Core/FileSystems/MetaFileSystem.cpp b/Core/FileSystems/MetaFileSystem.cpp index 3dd8cb35d4..3bdc16e9a7 100644 --- a/Core/FileSystems/MetaFileSystem.cpp +++ b/Core/FileSystems/MetaFileSystem.cpp @@ -114,6 +114,11 @@ PSPFileInfo MetaFileSystem::GetFileInfo(std::string filename) std::vector MetaFileSystem::GetDirListing(std::string path) { std::string of; + if (path.find(':') == std::string::npos) + { + path = currentDirectory + "/" + path; + DEBUG_LOG(HLE,"GetFileInfo: Expanded path to %s", path.c_str()); + } IFileSystem *system; if (MapFilePath(path, of, &system)) { diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index 9eee4d388f..0e0023dd4c 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -907,6 +907,7 @@ void sceIoDread() { if (dir->index == (int)dir->listing.size()) { + DEBUG_LOG(HLE,"sceIoDread( %d %08x ) - end of the line", PARAM(0), PARAM(1)); RETURN(0); return; }