From 233195b020363a64ffc3729d92dfba28b4cdbacd Mon Sep 17 00:00:00 2001 From: "arcum42@gmail.com" Date: Sun, 1 May 2022 17:31:15 -0700 Subject: [PATCH] Remove macros that 'might be needed again in the future'. --- common/TraceLog.h | 8 -------- pcsx2/DebugTools/Debug.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/common/TraceLog.h b/common/TraceLog.h index a35c461f25..8e20c03cbc 100644 --- a/common/TraceLog.h +++ b/common/TraceLog.h @@ -17,10 +17,6 @@ #include "Console.h" -// These macros are currently not needed (anymore), but might be needed aain in the future --air -#define TraceLog_ImplementBaseAPI(thistype) -#define ConsoleLog_ImplementBaseAPI(thistype) - // -------------------------------------------------------------------------------------- // TraceLogDescriptor // -------------------------------------------------------------------------------------- @@ -84,8 +80,6 @@ protected: } public: - TraceLog_ImplementBaseAPI(BaseTraceLogSource) - BaseTraceLogSource(const TraceLogDescriptor* desc) { pxAssumeDev(desc, "Trace logs must have a valid (non-NULL) descriptor."); @@ -168,8 +162,6 @@ protected: } public: - ConsoleLog_ImplementBaseAPI(ConsoleLogSource) - ConsoleLogSource(const TraceLogDescriptor* desc, ConsoleColors defaultColor = Color_Gray) : BaseTraceLogSource(desc) { diff --git a/pcsx2/DebugTools/Debug.h b/pcsx2/DebugTools/Debug.h index 65e2c87683..e5d4222de2 100644 --- a/pcsx2/DebugTools/Debug.h +++ b/pcsx2/DebugTools/Debug.h @@ -68,8 +68,6 @@ struct SysTraceLogDescriptor class SysTraceLog : public TextFileTraceLog { public: - TraceLog_ImplementBaseAPI(SysTraceLog) - // Pass me a NULL and you *will* suffer! Muahahaha. SysTraceLog( const SysTraceLogDescriptor* desc ) : TextFileTraceLog( &desc->base ) {} @@ -226,8 +224,6 @@ class ConsoleLogFromVM : public BaseTraceLogSource typedef BaseTraceLogSource _parent; public: - ConsoleLog_ImplementBaseAPI(ConsoleLogFromVM) - ConsoleLogFromVM( const TraceLogDescriptor* desc ) : _parent( desc ) {} bool Write( const wxString &msg ) const