diff --git a/Common/FileUtil.cpp b/Common/FileUtil.cpp index 247163251b..1a9629f35b 100644 --- a/Common/FileUtil.cpp +++ b/Common/FileUtil.cpp @@ -241,10 +241,9 @@ bool CreateDir(const std::string &path) bool CreateFullPath(const std::string &fullPath) { int panicCounter = 100; - DEBUG_LOG(COMMON, "CreateFullPath: path %s", fullPath.c_str()); + VERBOSE_LOG(COMMON, "CreateFullPath: path %s", fullPath.c_str()); - if (File::Exists(fullPath)) - { + if (File::Exists(fullPath)) { DEBUG_LOG(COMMON, "CreateFullPath: path exists %s", fullPath.c_str()); return true; } diff --git a/Core/ELF/PBPReader.cpp b/Core/ELF/PBPReader.cpp index 1eb4f70556..76fdbb36e4 100644 --- a/Core/ELF/PBPReader.cpp +++ b/Core/ELF/PBPReader.cpp @@ -45,7 +45,7 @@ PBPReader::PBPReader(FileLoader *fileLoader) : file_(nullptr), header_(), isELF_ return; } - DEBUG_LOG(LOADER, "Loading PBP, version = %08x", header_.version); + VERBOSE_LOG(LOADER, "Loading PBP, version = %08x", header_.version); file_ = fileLoader; } diff --git a/UI/GameInfoCache.cpp b/UI/GameInfoCache.cpp index 83b97f2b72..63e9c6efb9 100644 --- a/UI/GameInfoCache.cpp +++ b/UI/GameInfoCache.cpp @@ -460,13 +460,13 @@ handleELF: std::string screenshot_jpg = GetSysDirectory(DIRECTORY_SCREENSHOT) + info_->id + "_00000.jpg"; std::string screenshot_png = GetSysDirectory(DIRECTORY_SCREENSHOT) + info_->id + "_00000.png"; // Try using png/jpg screenshots first - if (File::Exists(screenshot_png)) + if (File::Exists(screenshot_png)) { readFileToString(false, screenshot_png.c_str(), info_->icon.data); - else if (File::Exists(screenshot_jpg)) + } else if (File::Exists(screenshot_jpg)) { readFileToString(false, screenshot_jpg.c_str(), info_->icon.data); - else { + } else { // Read standard icon - DEBUG_LOG(LOADER, "Loading unknown.png because there was an ELF"); + VERBOSE_LOG(LOADER, "Loading unknown.png because there was an ELF"); ReadVFSToString("unknown.png", &info_->icon.data, &info_->lock); } info_->icon.dataLoaded = true;