diff options
| author | Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> | 2020-12-24 23:38:59 -0600 |
|---|---|---|
| committer | Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> | 2020-12-24 23:38:59 -0600 |
| commit | b430d66cdcf92fe2517ef689c75d19ef9aa31b47 (patch) | |
| tree | 2580bebafaf48137e3a45e3402341fdb60a96902 /Source/Core/Common/Logging/LogManager.cpp | |
| parent | ac2525615644738b74e4f01dee2c4fd6f3a21cf1 (diff) | |
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.
Diffstat (limited to 'Source/Core/Common/Logging/LogManager.cpp')
| -rw-r--r-- | Source/Core/Common/Logging/LogManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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"}; |
