From 82087ccbb71b546fd1508c840c075c7366180579 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 28 Aug 2021 09:14:53 -0700 Subject: [PATCH] Common: Reduce some log levels. Take off a few messages during startup and shutdown. --- Core/Config.cpp | 2 +- Core/ControlMapper.cpp | 2 +- Core/HLE/sceNet.cpp | 2 +- Core/Reporting.cpp | 2 +- UI/NativeApp.cpp | 2 +- Windows/EmuThread.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index bb956d8c86..69d1b66b81 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -1767,7 +1767,7 @@ bool Config::loadGameConfig(const std::string &pGameId, const std::string &title Path iniFileNameFull = getGameConfigFile(pGameId); if (!hasGameConfig(pGameId)) { - INFO_LOG(LOADER, "Failed to read %s. No game-specific settings found, using global defaults.", iniFileNameFull.c_str()); + DEBUG_LOG(LOADER, "No game-specific settings found in %s. Using global defaults.", iniFileNameFull.c_str()); return false; } diff --git a/Core/ControlMapper.cpp b/Core/ControlMapper.cpp index c0ff50c76a..44d034a2cb 100644 --- a/Core/ControlMapper.cpp +++ b/Core/ControlMapper.cpp @@ -80,7 +80,7 @@ bool ControlMapper::Key(const KeyInput &key, bool *pauseTrigger) { pspKey(pspKeys[i], key.flags); } - INFO_LOG(SYSTEM, "Key: %d DeviceId: %d", key.keyCode, key.deviceId); + DEBUG_LOG(SYSTEM, "Key: %d DeviceId: %d", key.keyCode, key.deviceId); if (!pspKeys.size() || key.deviceId == DEVICE_ID_DEFAULT) { if ((key.flags & KEY_DOWN) && key.keyCode == NKCODE_BACK) { diff --git a/Core/HLE/sceNet.cpp b/Core/HLE/sceNet.cpp index ae7e8af541..a93ed56821 100644 --- a/Core/HLE/sceNet.cpp +++ b/Core/HLE/sceNet.cpp @@ -210,7 +210,7 @@ void __NetInit() { SceNetEtherAddr mac; getLocalMac(&mac); - NOTICE_LOG(SCENET, "LocalHost IP will be %s [%s]", ip2str(g_localhostIP.in.sin_addr).c_str(), mac2str(&mac).c_str()); + INFO_LOG(SCENET, "LocalHost IP will be %s [%s]", ip2str(g_localhostIP.in.sin_addr).c_str(), mac2str(&mac).c_str()); // TODO: May be we should initialize & cleanup somewhere else than here for PortManager to be used as general purpose for whatever port forwarding PPSSPP needed __UPnPInit(); diff --git a/Core/Reporting.cpp b/Core/Reporting.cpp index ec66977c36..9f4d7317b6 100644 --- a/Core/Reporting.cpp +++ b/Core/Reporting.cpp @@ -187,7 +187,7 @@ namespace Reporting crcCond.wait(guard); } } else { - INFO_LOG(SYSTEM, "no CRC pending"); + DEBUG_LOG(SYSTEM, "No CRC pending"); } if (crcThread.joinable()) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 3c63e45c35..80e6570850 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -787,7 +787,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch }); } - INFO_LOG(SYSTEM, "ScreenManager!"); + DEBUG_LOG(SYSTEM, "ScreenManager!"); screenManager = new ScreenManager(); if (g_Config.memStickDirectory.empty()) { INFO_LOG(SYSTEM, "No memstick directory! Asking for one to be configured."); diff --git a/Windows/EmuThread.cpp b/Windows/EmuThread.cpp index c14c9e0ccc..823208c851 100644 --- a/Windows/EmuThread.cpp +++ b/Windows/EmuThread.cpp @@ -230,7 +230,7 @@ void MainThreadFunc() { NativeResized(); } - INFO_LOG(BOOT, "Done."); + DEBUG_LOG(BOOT, "Done."); if (coreState == CORE_POWERDOWN) { INFO_LOG(BOOT, "Exit before core loop.");