mirror of https://github.com/PCSX2/pcsx2.git
pcsx2|spu2x: remove unused macro
This commit is contained in:
parent
02da178d5c
commit
64d499af6e
|
@ -38,8 +38,6 @@
|
|||
#define W5 1609 /* 2048*sqrt (2)*cos (5*pi/16) */
|
||||
#define W6 1108 /* 2048*sqrt (2)*cos (6*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.
|
||||
|
|
|
@ -35,11 +35,6 @@
|
|||
#define _Fs_ _Rd_
|
||||
#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 _Ftf_ ((cpuRegs.code >> 23) & 0x03)
|
||||
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
|
||||
using namespace R5900;
|
||||
|
||||
#define VF_VAL(x) ((x==0x80000000)?0:(x))
|
||||
|
||||
// This is called by the COP2 as per the CTC instruction
|
||||
void vu0ResetRegs()
|
||||
{
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
u32 vudump = 0;
|
||||
#endif
|
||||
|
||||
#define VF_VAL(x) ((x==0x80000000)?0:(x))
|
||||
|
||||
// This is called by the COP2 as per the CTC instruction
|
||||
void vu1ResetRegs()
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
// (currently not used, it's buggy)
|
||||
static int GetLinearSrAr( uint SrAr )
|
||||
|
|
Loading…
Reference in New Issue