mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-15 22:53:47 +00:00
Fix a typo in a log message
Also moved a logging statement after an if statement check. We don't want to signify creation of something before checking its validity.
This commit is contained in:
parent
7f5412f427
commit
a5f35cc437
@ -583,13 +583,12 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
u64 new_block = FindFreeBlock();
|
u64 new_block = FindFreeBlock();
|
||||||
|
|
||||||
ConLog.Write("CREATION ENTRY AT 0x%llx", new_block);
|
|
||||||
if(!new_block)
|
if(!new_block)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ConLog.Write("CREATING ENTRY AT 0x%llx", new_block);
|
||||||
WriteBlock(new_block, g_used_block);
|
WriteBlock(new_block, g_used_block);
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -739,7 +738,7 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ConLog.Write("ENTRY FINDED AT 0x%llx", file_block);
|
ConLog.Write("ENTRY FOUND AT 0x%llx", file_block);
|
||||||
m_file.Open(file_block);
|
m_file.Open(file_block);
|
||||||
|
|
||||||
return vfsFileBase::Open(path, mode);
|
return vfsFileBase::Open(path, mode);
|
||||||
@ -769,7 +768,7 @@ public:
|
|||||||
|
|
||||||
if(entry.type == vfsHDD_Entry_Dir && name != "." && name != "..")
|
if(entry.type == vfsHDD_Entry_Dir && name != "." && name != "..")
|
||||||
{
|
{
|
||||||
ConLog.Warning("removing sub folder '%s'", name.wx_str());
|
ConLog.Warning("Removing sub folder '%s'", name.wx_str());
|
||||||
RemoveBlocksDir(entry.data_block);
|
RemoveBlocksDir(entry.data_block);
|
||||||
}
|
}
|
||||||
else if(entry.type == vfsHDD_Entry_File)
|
else if(entry.type == vfsHDD_Entry_File)
|
||||||
|
Loading…
Reference in New Issue
Block a user