pcsx2|spu2x: remove unused macro

This commit is contained in:
Gregory Hainaut 2016-09-07 19:00:15 +02:00
parent 02da178d5c
commit 64d499af6e
5 changed files with 0 additions and 13 deletions

View File

@ -38,8 +38,6 @@
#define W5 1609 /* 2048*sqrt (2)*cos (5*pi/16) */ #define W5 1609 /* 2048*sqrt (2)*cos (5*pi/16) */
#define W6 1108 /* 2048*sqrt (2)*cos (6*pi/16) */ #define W6 1108 /* 2048*sqrt (2)*cos (6*pi/16) */
#define W7 565 /* 2048*sqrt (2)*cos (7*pi/16) */ #define W7 565 /* 2048*sqrt (2)*cos (7*pi/16) */
#define clp(val,res) res = (val < 0) ? 0 : ((val > 255) ? 255 : val);
#define clp2(val,res) res = (val < -255) ? -255 : ((val > 255) ? 255 : val);
/* /*
* In legal streams, the IDCT output should be between -384 and +384. * In legal streams, the IDCT output should be between -384 and +384.

View File

@ -35,11 +35,6 @@
#define _Fs_ _Rd_ #define _Fs_ _Rd_
#define _Fd_ _Sa_ #define _Fd_ _Sa_
#define _X (cpuRegs.code>>24) & 0x1
#define _Y (cpuRegs.code>>23) & 0x1
#define _Z (cpuRegs.code>>22) & 0x1
#define _W (cpuRegs.code>>21) & 0x1
#define _Fsf_ ((cpuRegs.code >> 21) & 0x03) #define _Fsf_ ((cpuRegs.code >> 21) & 0x03)
#define _Ftf_ ((cpuRegs.code >> 23) & 0x03) #define _Ftf_ ((cpuRegs.code >> 23) & 0x03)

View File

@ -26,8 +26,6 @@
using namespace R5900; using namespace R5900;
#define VF_VAL(x) ((x==0x80000000)?0:(x))
// This is called by the COP2 as per the CTC instruction // This is called by the COP2 as per the CTC instruction
void vu0ResetRegs() void vu0ResetRegs()
{ {

View File

@ -27,8 +27,6 @@
u32 vudump = 0; u32 vudump = 0;
#endif #endif
#define VF_VAL(x) ((x==0x80000000)?0:(x))
// This is called by the COP2 as per the CTC instruction // This is called by the COP2 as per the CTC instruction
void vu1ResetRegs() void vu1ResetRegs()
{ {

View File

@ -38,8 +38,6 @@ void InitADSR() // INIT ADSR
} }
} }
#define VOL(x) (((s32)x)) //24.8 volume
// Returns the linear slide value for AR and SR inputs. // Returns the linear slide value for AR and SR inputs.
// (currently not used, it's buggy) // (currently not used, it's buggy)
static int GetLinearSrAr( uint SrAr ) static int GetLinearSrAr( uint SrAr )