mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: don't use 0&& to remove code
It works but compiler is not happy because it is still parsing the full line.
This commit is contained in:
parent
f3d03b025a
commit
c73ce3d02d
|
@ -34,7 +34,7 @@ using namespace Threading;
|
|||
#if 0 //PCSX2_DEBUG
|
||||
# define MTGS_LOG Console.WriteLn
|
||||
#else
|
||||
# define MTGS_LOG 0&&
|
||||
# define MTGS_LOG(...) do {} while (0)
|
||||
#endif
|
||||
|
||||
// forces the compiler to treat a non-volatile value as volatile.
|
||||
|
|
|
@ -42,9 +42,9 @@ void ProfilerTerminateSource( const wxString& Name );
|
|||
|
||||
#define ProfilerInit() (void)0
|
||||
#define ProfilerTerm() (void)0
|
||||
#define ProfilerSetEnabled 0&&
|
||||
#define ProfilerRegisterSource 0&&
|
||||
#define ProfilerTerminateSource 0&&
|
||||
#define ProfilerSetEnabled(...) (void)0
|
||||
#define ProfilerRegisterSource(...) (void)0
|
||||
#define ProfilerTerminateSource(...) (void)0
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ static VURegs& vu0Regs = vuRegs[0];
|
|||
|
||||
using namespace R5900::Dynarec;
|
||||
|
||||
#define printCOP2 0&&
|
||||
#define printCOP2(...) (void)0
|
||||
//#define printCOP2 DevCon.Status
|
||||
|
||||
void setupMacroOp(int mode, const char* opName) {
|
||||
|
|
|
@ -339,7 +339,7 @@ static void SuperVUEliminateDeadCode();
|
|||
static void SuperVUAssignRegs();
|
||||
|
||||
//void SuperVUFreeXMMreg(int xmmreg, int xmmtype, int reg);
|
||||
#define SuperVUFreeXMMreg 0&&
|
||||
#define SuperVUFreeXMMreg(...) (void)0
|
||||
void SuperVUFreeXMMregs(u32* livevars);
|
||||
|
||||
static u32* SuperVUStaticAlloc(u32 size);
|
||||
|
|
Loading…
Reference in New Issue