From b94572e3ba02f2a3b11041d1f877754cda9effe5 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Wed, 9 Mar 2016 17:02:53 +0100 Subject: [PATCH] Assorted cleanup --- Core/FileSystems/MetaFileSystem.cpp | 2 +- Core/System.cpp | 4 +++- ext/native/ext/sha1/sha1.cpp | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Core/FileSystems/MetaFileSystem.cpp b/Core/FileSystems/MetaFileSystem.cpp index d2f8df140d..18dc1448b1 100644 --- a/Core/FileSystems/MetaFileSystem.cpp +++ b/Core/FileSystems/MetaFileSystem.cpp @@ -113,7 +113,7 @@ static bool RealPath(const std::string ¤tDirectory, const std::string &inP } if (curDirColon + 1 == curDirLen) { - ERROR_LOG(FILESYS, "RealPath: inPath \"%s\" is relative, but current directory \"%s\" is all prefix and no path. Using \"/\" as path for current directory.", inPath.c_str(), currentDirectory.c_str()); + WARN_LOG(FILESYS, "RealPath: inPath \"%s\" is relative, but current directory \"%s\" is all prefix and no path. Using \"/\" as path for current directory.", inPath.c_str(), currentDirectory.c_str()); } else { diff --git a/Core/System.cpp b/Core/System.cpp index 38a25cb0fe..0df10e3d91 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -220,7 +220,9 @@ void CPU_Init() { InitMemoryForGamePBP(loadedFile); break; case FILETYPE_PSP_PBP_DIRECTORY: - ERROR_LOG(LOADER, "PBP directory resolution failed."); + // This is normal for homebrew. + // ERROR_LOG(LOADER, "PBP directory resolution failed."); + break; default: break; } diff --git a/ext/native/ext/sha1/sha1.cpp b/ext/native/ext/sha1/sha1.cpp index 263c6b5927..d9b696ca21 100644 --- a/ext/native/ext/sha1/sha1.cpp +++ b/ext/native/ext/sha1/sha1.cpp @@ -8,7 +8,6 @@ // If compiling with MFC, you might want to add #include "StdAfx.h" -#define _CRT_SECURE_NO_WARNINGS #include "sha1.h" #ifdef SHA1_UTILITY_FUNCTIONS