summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-06 23:18:20 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-06 23:18:20 +0200
commit9db26df05fddd08575be459a12842a96e9f2ddc9 (patch)
tree5b07d6cfd801519dba7b39673d7e8d05904034e6
parentcommented out useless debug logs that just spammed console (diff)
downloadyuzu-9db26df05fddd08575be459a12842a96e9f2ddc9.tar
yuzu-9db26df05fddd08575be459a12842a96e9f2ddc9.tar.gz
yuzu-9db26df05fddd08575be459a12842a96e9f2ddc9.tar.bz2
yuzu-9db26df05fddd08575be459a12842a96e9f2ddc9.tar.lz
yuzu-9db26df05fddd08575be459a12842a96e9f2ddc9.tar.xz
yuzu-9db26df05fddd08575be459a12842a96e9f2ddc9.tar.zst
yuzu-9db26df05fddd08575be459a12842a96e9f2ddc9.zip
-rw-r--r--src/common/log.h6
-rw-r--r--src/common/log_manager.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 02db8bd55..ffc727a27 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -54,7 +54,7 @@ enum LOG_TYPE {
WII_IPC_FILEIO,
WII_IPC_HID,
WII_IPC_HLE,
- WII_IPC_NET,
+ SVC,
NDMA,
HLE,
RENDER,
@@ -88,10 +88,10 @@ void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type,
;
#if defined LOGGING || defined _DEBUG || defined DEBUGFAST
-#define MAX_LOGLEVEL DEBUG_LEVEL
+#define MAX_LOGLEVEL LogTypes::LDEBUG
#else
#ifndef MAX_LOGLEVEL
-#define MAX_LOGLEVEL WARNING_LEVEL
+#define MAX_LOGLEVEL LogTypes::LWARNING
#endif // loglevel
#endif // logging
diff --git a/src/common/log_manager.cpp b/src/common/log_manager.cpp
index 8e56deb8f..6f4e10c9a 100644
--- a/src/common/log_manager.cpp
+++ b/src/common/log_manager.cpp
@@ -66,7 +66,7 @@ LogManager::LogManager()
m_Log[LogTypes::WII_IPC_FILEIO] = new LogContainer("WII_IPC_FILEIO", "WII IPC FILEIO");
m_Log[LogTypes::RENDER] = new LogContainer("RENDER", "RENDER");
m_Log[LogTypes::LCD] = new LogContainer("LCD", "LCD");
- m_Log[LogTypes::WII_IPC_NET] = new LogContainer("WII_IPC_NET", "WII IPC NET");
+ m_Log[LogTypes::SVC] = new LogContainer("SVC", "Supervisor Call");
m_Log[LogTypes::NDMA] = new LogContainer("NDMA", "NDMA");
m_Log[LogTypes::HLE] = new LogContainer("HLE", "High Level Emulation");
m_Log[LogTypes::HW] = new LogContainer("HW", "Hardware");
@@ -147,7 +147,7 @@ LogContainer::LogContainer(const char* shortName, const char* fullName, bool ena
{
strncpy(m_fullName, fullName, 128);
strncpy(m_shortName, shortName, 32);
- m_level = LogTypes::LWARNING;
+ m_level = MAX_LOGLEVEL;
}
// LogContainer