mirror of https://github.com/PCSX2/pcsx2.git
* Declared a local function static. Fix compilation error on gcc/linux. Spu2x is now ok
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3174 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
581d17e282
commit
275a923911
|
@ -46,7 +46,7 @@ static const s32 tbl_XA_Factor[5][2] =
|
||||||
// caller to extend the inputs so that they make use of all 32 bits of
|
// caller to extend the inputs so that they make use of all 32 bits of
|
||||||
// precision.
|
// precision.
|
||||||
//
|
//
|
||||||
__forceinline s32 MulShr32( s32 srcval, s32 mulval )
|
static __forceinline s32 MulShr32( s32 srcval, s32 mulval )
|
||||||
{
|
{
|
||||||
return (s64)srcval * mulval >> 32;
|
return (s64)srcval * mulval >> 32;
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,6 +79,5 @@ struct StereoOut32
|
||||||
|
|
||||||
extern void Mix();
|
extern void Mix();
|
||||||
extern s32 clamp_mix( s32 x, u8 bitshift=0 );
|
extern s32 clamp_mix( s32 x, u8 bitshift=0 );
|
||||||
extern s32 MulShr32( s32 srcval, s32 mulval );
|
|
||||||
|
|
||||||
extern StereoOut32 clamp_mix( const StereoOut32& sample, u8 bitshift=0 );
|
extern StereoOut32 clamp_mix( const StereoOut32& sample, u8 bitshift=0 );
|
||||||
|
|
Loading…
Reference in New Issue