From 6de3d47f6ecaae4f5cfe3fd7ee4940af96b20ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 8 Apr 2025 08:56:13 +0200 Subject: [PATCH] Minor logging fixes --- Common/File/FileUtil.cpp | 3 +-- Core/HLE/sceIo.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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();