sceIoRename function

This commit is contained in:
Sacha committed 2012-11-28 05:21:32 +10:00
1 parent 156cfc4e6a
commit 6192bdf6df
7 files changed
+56 -15

No files matched your search

+15
View File
@@ -177,6 +177,21 @@ bool MetaFileSystem::RmDir(const std::string &dirname)
}
}
bool MetaFileSystem::RenameFile(const std::string &from, const std::string &to)
{
std::string of;
std::string rf;
IFileSystem *system;
if (MapFilePath(from, of, &system) && MapFilePath(to, rf, &system))
{
return system->RenameFile(of, rf);
}
else
{
return false;
}
}
bool MetaFileSystem::DeleteFile(const std::string &filename)
{
std::string of;