mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
use only one set of logging macros instead of two and don't use free() as a function name
This commit is contained in:
parent
afad6daa7d
commit
95f1a0e645
74 changed files with 800 additions and 793 deletions
|
|
@ -53,7 +53,7 @@ bool vfsLocalFile::Open(const std::string& path, vfsOpenMode mode)
|
|||
|
||||
bool vfsLocalFile::Create(const std::string& path)
|
||||
{
|
||||
LOGF_WARNING(HLE, "vfsLocalFile::Create('%s')", path.c_str());
|
||||
LOG_WARNING(HLE, "vfsLocalFile::Create('%s')", path.c_str());
|
||||
for(uint p=1; p < path.length() && path[p] != '\0' ; p++)
|
||||
{
|
||||
for(; p < path.length() && path[p] != '\0'; p++)
|
||||
|
|
@ -65,7 +65,7 @@ bool vfsLocalFile::Create(const std::string& path)
|
|||
const std::string& dir = path.substr(0, p);
|
||||
if(!rDirExists(dir))
|
||||
{
|
||||
LOGF_NOTICE(HLE, "create dir: %s", dir.c_str());
|
||||
LOG_NOTICE(HLE, "create dir: %s", dir.c_str());
|
||||
rMkdir(dir);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue