From b430d66cdcf92fe2517ef689c75d19ef9aa31b47 Mon Sep 17 00:00:00 2001 From: Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> Date: Thu, 24 Dec 2020 23:38:59 -0600 Subject: Split OSREPORT logging type The enumerated LOG_TYPE "OSREPORT" is currently used in both EXI_DeviceIPL.cpp and HLE_OS.cpp. In many games, the multitude of game functions detected by HLE_OS.cpp for OSREPORT logging results in poor log readability. This Pull Request remedies that by adding a new enumerated LOG_TYPE "OSREPORT_HLE" for log usage in HLE_OS.cpp. In the future, further changing how logging in HLE_OS.cpp works may be desirable. As it is, game functions are detected that send a single character to the log. This is a major source of poor readability. --- Source/Core/Common/Logging/LogManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/Common/Logging/LogManager.cpp') diff --git a/Source/Core/Common/Logging/LogManager.cpp b/Source/Core/Common/Logging/LogManager.cpp index d882093adf..b03255ca9e 100644 --- a/Source/Core/Common/Logging/LogManager.cpp +++ b/Source/Core/Common/Logging/LogManager.cpp @@ -154,7 +154,8 @@ LogManager::LogManager() m_log[MEMMAP] = {"MI", "Memory Interface & Memory Map"}; m_log[NETPLAY] = {"NETPLAY", "Netplay"}; m_log[OSHLE] = {"HLE", "OSHLE"}; - m_log[OSREPORT] = {"OSREPORT", "OSReport"}; + m_log[OSREPORT] = {"OSREPORT", "OSReport EXI"}; + m_log[OSREPORT_HLE] = {"OSREPORT_HLE", "OSReport HLE"}; m_log[PAD] = {"PAD", "Pad"}; m_log[PIXELENGINE] = {"PE", "Pixel Engine"}; m_log[PROCESSORINTERFACE] = {"PI", "Processor Interface"}; -- cgit v1.2.3