Ver código fonte

Add a GUI logging channel.

Replace asserts with _dbg_assert_.
Tony Wasserka 11 anos atrás
pai
commit
c8d933a142
2 arquivos alterados com 2 adições e 0 exclusões
  1. 1 0
      src/common/log.h
  2. 1 0
      src/common/log_manager.cpp

+ 1 - 0
src/common/log.h

@@ -69,6 +69,7 @@ enum LOG_TYPE {
     HW,
     TIME,
     NETPLAY,
+    GUI,
 
     NUMBER_OF_LOGS // Must be last
 };

+ 1 - 0
src/common/log_manager.cpp

@@ -75,6 +75,7 @@ LogManager::LogManager()
     m_Log[LogTypes::ACTIONREPLAY]       = new LogContainer("ActionReplay",      "ActionReplay");
     m_Log[LogTypes::MEMCARD_MANAGER]    = new LogContainer("MemCard Manager",   "MemCard Manager");
     m_Log[LogTypes::NETPLAY]            = new LogContainer("NETPLAY",           "Netplay");
+    m_Log[LogTypes::GUI]                = new LogContainer("GUI",               "GUI");
 
     m_fileLog = new FileLogListener(FileUtil::GetUserPath(F_MAINLOG_IDX).c_str());
     m_consoleLog = new ConsoleListener();