Skip to content

Commit

Permalink
Common: Reduce some log levels.
Browse files Browse the repository at this point in the history
Take off a few messages during startup and shutdown.
  • Loading branch information
unknownbrackets committed Aug 28, 2021
1 parent fdf8484 commit 82087cc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Core/Config.cpp
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion Core/ControlMapper.cpp
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion Core/HLE/sceNet.cpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion Core/Reporting.cpp
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion UI/NativeApp.cpp
Expand Up @@ -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.");
Expand Down
2 changes: 1 addition & 1 deletion Windows/EmuThread.cpp
Expand Up @@ -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.");
Expand Down

0 comments on commit 82087cc

Please sign in to comment.