From a5f35cc43780b3203842e7968c66aa8c3ad87ddd Mon Sep 17 00:00:00 2001 From: lioncash Date: Thu, 27 Mar 2014 09:04:44 -0400 Subject: [PATCH] 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. --- rpcs3/Emu/HDD/HDD.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/rpcs3/Emu/HDD/HDD.h b/rpcs3/Emu/HDD/HDD.h index c403df21f5..ba7c86e0ed 100644 --- a/rpcs3/Emu/HDD/HDD.h +++ b/rpcs3/Emu/HDD/HDD.h @@ -583,13 +583,12 @@ public: } u64 new_block = FindFreeBlock(); - - ConLog.Write("CREATION ENTRY AT 0x%llx", new_block); if(!new_block) { return false; } + ConLog.Write("CREATING ENTRY AT 0x%llx", new_block); WriteBlock(new_block, g_used_block); { @@ -739,7 +738,7 @@ public: 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); return vfsFileBase::Open(path, mode); @@ -769,7 +768,7 @@ public: 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); } else if(entry.type == vfsHDD_Entry_File)