From 911c469cf553ca6f754c7dc6c665e2c27924388f Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Mon, 4 Sep 2023 05:14:13 +0200 Subject: [PATCH] Common/LogManager: Add logging category for Achievements. --- Source/Core/Common/Logging/Log.h | 1 + Source/Core/Common/Logging/LogManager.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/Source/Core/Common/Logging/Log.h b/Source/Core/Common/Logging/Log.h index 29a65a972d..a13e9fee94 100644 --- a/Source/Core/Common/Logging/Log.h +++ b/Source/Core/Common/Logging/Log.h @@ -12,6 +12,7 @@ namespace Common::Log { enum class LogType : int { + ACHIEVEMENTS, ACTIONREPLAY, AUDIO, AUDIO_INTERFACE, diff --git a/Source/Core/Common/Logging/LogManager.cpp b/Source/Core/Common/Logging/LogManager.cpp index 80e7db895e..749117bc74 100644 --- a/Source/Core/Common/Logging/LogManager.cpp +++ b/Source/Core/Common/Logging/LogManager.cpp @@ -96,6 +96,7 @@ static size_t DeterminePathCutOffPoint() LogManager::LogManager() { // create log containers + m_log[LogType::ACHIEVEMENTS] = {"RetroAchievements", "Achievements"}; m_log[LogType::ACTIONREPLAY] = {"ActionReplay", "Action Replay"}; m_log[LogType::AUDIO] = {"Audio", "Audio Emulator"}; m_log[LogType::AUDIO_INTERFACE] = {"AI", "Audio Interface"};