Remove macros that 'might be needed again in the future'.

This commit is contained in:
arcum42@gmail.com 2022-05-01 17:31:15 -07:00 committed by refractionpcsx2
parent 7d71e28bfc
commit 233195b020
2 changed files with 0 additions and 12 deletions

View File

@ -17,10 +17,6 @@
#include "Console.h" #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 // TraceLogDescriptor
// -------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------
@ -84,8 +80,6 @@ protected:
} }
public: public:
TraceLog_ImplementBaseAPI(BaseTraceLogSource)
BaseTraceLogSource(const TraceLogDescriptor* desc) BaseTraceLogSource(const TraceLogDescriptor* desc)
{ {
pxAssumeDev(desc, "Trace logs must have a valid (non-NULL) descriptor."); pxAssumeDev(desc, "Trace logs must have a valid (non-NULL) descriptor.");
@ -168,8 +162,6 @@ protected:
} }
public: public:
ConsoleLog_ImplementBaseAPI(ConsoleLogSource)
ConsoleLogSource(const TraceLogDescriptor* desc, ConsoleColors defaultColor = Color_Gray) ConsoleLogSource(const TraceLogDescriptor* desc, ConsoleColors defaultColor = Color_Gray)
: BaseTraceLogSource(desc) : BaseTraceLogSource(desc)
{ {

View File

@ -68,8 +68,6 @@ struct SysTraceLogDescriptor
class SysTraceLog : public TextFileTraceLog class SysTraceLog : public TextFileTraceLog
{ {
public: public:
TraceLog_ImplementBaseAPI(SysTraceLog)
// Pass me a NULL and you *will* suffer! Muahahaha. // Pass me a NULL and you *will* suffer! Muahahaha.
SysTraceLog( const SysTraceLogDescriptor* desc ) SysTraceLog( const SysTraceLogDescriptor* desc )
: TextFileTraceLog( &desc->base ) {} : TextFileTraceLog( &desc->base ) {}
@ -226,8 +224,6 @@ class ConsoleLogFromVM : public BaseTraceLogSource
typedef BaseTraceLogSource _parent; typedef BaseTraceLogSource _parent;
public: public:
ConsoleLog_ImplementBaseAPI(ConsoleLogFromVM)
ConsoleLogFromVM( const TraceLogDescriptor* desc ) : _parent( desc ) {} ConsoleLogFromVM( const TraceLogDescriptor* desc ) : _parent( desc ) {}
bool Write( const wxString &msg ) const bool Write( const wxString &msg ) const