From cb3330a9e42aa2049fcef6a5c147443e536221d5 Mon Sep 17 00:00:00 2001 From: ergo720 <45463469+ergo720@users.noreply.github.com> Date: Wed, 14 Jul 2021 15:38:45 +0200 Subject: [PATCH] Removed stdcall from EmuLog --- src/common/Logging.cpp | 4 ++-- src/common/Logging.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/Logging.cpp b/src/common/Logging.cpp index 11b89dca5..748ccc6b6 100644 --- a/src/common/Logging.cpp +++ b/src/common/Logging.cpp @@ -159,7 +159,7 @@ inline void EmuLogOutputEx(const CXBXR_MODULE cxbxr_module, const LOG_LEVEL leve } // print out a custom message to the console or kernel debug log file -void NTAPI EmuLogEx(CXBXR_MODULE cxbxr_module, LOG_LEVEL level, const char *szWarningMessage, ...) +void EmuLogEx(CXBXR_MODULE cxbxr_module, LOG_LEVEL level, const char *szWarningMessage, ...) { if (szWarningMessage == NULL) { return; @@ -180,7 +180,7 @@ void NTAPI EmuLogEx(CXBXR_MODULE cxbxr_module, LOG_LEVEL level, const char *szWa } } -void NTAPI EmuLogInit(LOG_LEVEL level, const char *szWarningMessage, ...) +void EmuLogInit(LOG_LEVEL level, const char *szWarningMessage, ...) { if (szWarningMessage == NULL) { return; diff --git a/src/common/Logging.h b/src/common/Logging.h index bacd56df8..687e86e71 100644 --- a/src/common/Logging.h +++ b/src/common/Logging.h @@ -121,8 +121,8 @@ extern std::atomic_int g_CurrentLogLevel; extern std::atomic_bool g_CurrentLogPopupTestCase; // print out a log message to the console or kernel debug log file if level is high enough -void NTAPI EmuLogEx(CXBXR_MODULE cxbxr_module, LOG_LEVEL level, const char *szWarningMessage, ...); -void NTAPI EmuLogInit(LOG_LEVEL level, const char *szWarningMessage, ...); +void EmuLogEx(CXBXR_MODULE cxbxr_module, LOG_LEVEL level, const char *szWarningMessage, ...); +void EmuLogInit(LOG_LEVEL level, const char *szWarningMessage, ...); #define EmuLog(level, fmt, ...) EmuLogEx(LOG_PREFIX, level, fmt, ##__VA_ARGS__)