sys_fs_open rewritten

This commit is contained in:
Nekotekina 2015-03-13 18:06:27 +03:00
parent 3e34bd64bf
commit 6c36013e2a
12 changed files with 158 additions and 106 deletions

View file

@ -161,7 +161,7 @@ vfsDirBase* VFS::OpenDir(const std::string& ps3_path) const
return nullptr;
}
bool VFS::CreateFile(const std::string& ps3_path) const
bool VFS::CreateFile(const std::string& ps3_path, bool overwrite) const
{
std::string path;
if (vfsDevice* dev = GetDevice(ps3_path, path))
@ -170,7 +170,7 @@ bool VFS::CreateFile(const std::string& ps3_path) const
if (res)
{
return res->Create(path);
return res->Create(path, overwrite);
}
}