Remove unused function GetHostPath from filesystems

This commit is contained in:
Henrik Rydgård committed 2021-05-13 10:39:17 +02:00
1 parent 9c66f81cbc
commit 40ab92fe7b
10 files changed
+1 -49

No files matched your search

-13
View File
@@ -377,19 +377,6 @@ PSPFileInfo MetaFileSystem::GetFileInfo(std::string filename)
}
}
bool MetaFileSystem::GetHostPath(const std::string &inpath, Path &outpath)
{
std::lock_guard<std::recursive_mutex> guard(lock);
std::string of;
IFileSystem *system;
int error = MapFilePath(inpath, of, &system);
if (error == 0) {
return system->GetHostPath(of, outpath);
} else {
return false;
}
}
std::vector<PSPFileInfo> MetaFileSystem::GetDirListing(std::string path)
{
std::lock_guard<std::recursive_mutex> guard(lock);