Minor logging fixes

This commit is contained in:
Henrik Rydgård committed 2025-04-09 11:58:31 +02:00
1 parent ad237418db
commit 6de3d47f6e
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -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;
}
+1 -1
View File
@@ -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();