From 07413aa4e384ef61ecd8753269f4e39d440dacac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 11 Sep 2021 18:53:46 +0200 Subject: [PATCH] Feedback --- Common/File/AndroidStorage.cpp | 2 +- Core/FileSystems/DirectoryFileSystem.h | 1 - Core/HLE/sceIo.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Common/File/AndroidStorage.cpp b/Common/File/AndroidStorage.cpp index 5e12921904..01b5824a8a 100644 --- a/Common/File/AndroidStorage.cpp +++ b/Common/File/AndroidStorage.cpp @@ -273,7 +273,7 @@ int64_t Android_ComputeRecursiveDirectorySize(const std::string &uri) { int64_t size = env->CallLongMethod(g_nativeActivity, computeRecursiveDirectorySize, param); double elapsed = time_now_d() - start; - ERROR_LOG(IO, "ComputeRecursiveDirectorySize(%s) in %0.3f s", uri.c_str(), elapsed); + INFO_LOG(IO, "ComputeRecursiveDirectorySize(%s) in %0.3f s", uri.c_str(), elapsed); return size; } diff --git a/Core/FileSystems/DirectoryFileSystem.h b/Core/FileSystems/DirectoryFileSystem.h index fa2b24d013..9ee4777796 100644 --- a/Core/FileSystems/DirectoryFileSystem.h +++ b/Core/FileSystems/DirectoryFileSystem.h @@ -115,7 +115,6 @@ public: FileSystemFlags Flags() override { return flags; } u64 FreeSpace(const std::string &path) override; - // TODO: Replace with optimized implementation. bool ComputeRecursiveDirSizeIfFast(const std::string &path, int64_t *size) override; private: diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index 5ed0ad5c67..37eda68a42 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -2331,7 +2331,7 @@ static u32 sceIoDopen(const char *path) { double listTime = time_now_d() - startTime; if (listTime > 0.01) { - ERROR_LOG(IO, "Dir listing '%s' took %0.3f", path, listTime); + INFO_LOG(IO, "Dir listing '%s' took %0.3f", path, listTime); } // Blacklist some directories that games should not be able to find out about.