mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 19:00:14 -05:00
- added better SVC logging
- added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
This commit is contained in:
parent
e3ee3e441b
commit
9db26df05f
2 changed files with 5 additions and 5 deletions
|
@ -54,7 +54,7 @@ enum LOG_TYPE {
|
||||||
WII_IPC_FILEIO,
|
WII_IPC_FILEIO,
|
||||||
WII_IPC_HID,
|
WII_IPC_HID,
|
||||||
WII_IPC_HLE,
|
WII_IPC_HLE,
|
||||||
WII_IPC_NET,
|
SVC,
|
||||||
NDMA,
|
NDMA,
|
||||||
HLE,
|
HLE,
|
||||||
RENDER,
|
RENDER,
|
||||||
|
@ -88,10 +88,10 @@ void GenericLog(LOGTYPES_LEVELS level, LOGTYPES_TYPE type,
|
||||||
;
|
;
|
||||||
|
|
||||||
#if defined LOGGING || defined _DEBUG || defined DEBUGFAST
|
#if defined LOGGING || defined _DEBUG || defined DEBUGFAST
|
||||||
#define MAX_LOGLEVEL DEBUG_LEVEL
|
#define MAX_LOGLEVEL LogTypes::LDEBUG
|
||||||
#else
|
#else
|
||||||
#ifndef MAX_LOGLEVEL
|
#ifndef MAX_LOGLEVEL
|
||||||
#define MAX_LOGLEVEL WARNING_LEVEL
|
#define MAX_LOGLEVEL LogTypes::LWARNING
|
||||||
#endif // loglevel
|
#endif // loglevel
|
||||||
#endif // logging
|
#endif // logging
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ LogManager::LogManager()
|
||||||
m_Log[LogTypes::WII_IPC_FILEIO] = new LogContainer("WII_IPC_FILEIO", "WII IPC FILEIO");
|
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::RENDER] = new LogContainer("RENDER", "RENDER");
|
||||||
m_Log[LogTypes::LCD] = new LogContainer("LCD", "LCD");
|
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::NDMA] = new LogContainer("NDMA", "NDMA");
|
||||||
m_Log[LogTypes::HLE] = new LogContainer("HLE", "High Level Emulation");
|
m_Log[LogTypes::HLE] = new LogContainer("HLE", "High Level Emulation");
|
||||||
m_Log[LogTypes::HW] = new LogContainer("HW", "Hardware");
|
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_fullName, fullName, 128);
|
||||||
strncpy(m_shortName, shortName, 32);
|
strncpy(m_shortName, shortName, 32);
|
||||||
m_level = LogTypes::LWARNING;
|
m_level = MAX_LOGLEVEL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// LogContainer
|
// LogContainer
|
||||||
|
|
Loading…
Reference in a new issue