mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-13 03:29:55 +00:00
vfsLocalFile: log when Create fails
This commit is contained in:
parent
980b9aaab3
commit
e0ff129dd1
1 changed files with 6 additions and 1 deletions
|
@ -75,7 +75,12 @@ bool vfsLocalFile::Create(const std::string& path)
|
||||||
if(m != '/' && m != '\\' && !rExists(path)) // ???
|
if(m != '/' && m != '\\' && !rExists(path)) // ???
|
||||||
{
|
{
|
||||||
rFile f;
|
rFile f;
|
||||||
return f.Create(path);
|
if (!f.Create(path)) {
|
||||||
|
LOG_NOTICE(HLE, "vfsLocalFile::Create: couldn't create file");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue