vfsLocalFile: log when Create fails

This commit is contained in:
darkf 2014-12-20 03:46:09 -08:00
parent 980b9aaab3
commit e0ff129dd1

View File

@ -75,7 +75,12 @@ bool vfsLocalFile::Create(const std::string& path)
if(m != '/' && m != '\\' && !rExists(path)) // ???
{
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;