Merge branch 'master' into DSP-n-FS-work

This commit is contained in:
wheremyfoodat 2023-06-03 22:51:41 +03:00
commit 1b3c17c9a0
7 changed files with 681 additions and 4 deletions

View file

@ -17,7 +17,6 @@ namespace Log {
}
};
#define false 0
// Our loggers here. Enable/disable by toggling the template param
static Logger<false> kernelLogger;
static Logger<true> debugStringLogger; // Enables output for the outputDebugString SVC
@ -52,11 +51,10 @@ namespace Log {
static Logger<false> ptmLogger;
static Logger<false> y2rLogger;
static Logger<false> srvLogger;
#undef false
#define MAKE_LOG_FUNCTION(functionName, logger) \
template <typename... Args> \
void functionName(const char* fmt, Args... args) { \
Log::logger.log(fmt, args...); \
}
}
}