mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
sys_fs_open rewritten
This commit is contained in:
parent
3e34bd64bf
commit
6c36013e2a
12 changed files with 158 additions and 106 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue