diff --git a/Common/File/FileUtil.cpp b/Common/File/FileUtil.cpp index 28cbf5c64f..8ce0956b17 100644 --- a/Common/File/FileUtil.cpp +++ b/Common/File/FileUtil.cpp @@ -522,8 +522,6 @@ bool Delete(const Path &filename) { return false; } - INFO_LOG(Log::Common, "Delete: file %s", filename.c_str()); - // Return true because we care about the file no // being there, not the actual delete. if (!Exists(filename)) { @@ -557,6 +555,7 @@ bool Delete(const Path &filename) { } #endif + INFO_LOG(Log::Common, "Delete: file %s was deleted.", filename.c_str()); return true; } diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index 71bbe5408e..3a16707c89 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -2409,7 +2409,7 @@ static u32 sceIoDopen(const char *path) { auto listing = pspFileSystem.GetDirListing(path, &listingExists); if (!listingExists) { - return hleLogError(Log::sceIo, SCE_KERNEL_ERROR_ERRNO_FILE_NOT_FOUND); + return hleLogWarning(Log::sceIo, SCE_KERNEL_ERROR_ERRNO_FILE_NOT_FOUND); } DirListing *dir = new DirListing();