mirror of https://github.com/PCSX2/pcsx2.git
spu2x: use default contructor of the compiler
This commit is contained in:
parent
44b5552231
commit
33a7672196
|
@ -40,7 +40,7 @@ struct V_VolumeLR
|
||||||
s32 Left;
|
s32 Left;
|
||||||
s32 Right;
|
s32 Right;
|
||||||
|
|
||||||
V_VolumeLR() {}
|
V_VolumeLR() = default;
|
||||||
V_VolumeLR(s32 both)
|
V_VolumeLR(s32 both)
|
||||||
: Left(both)
|
: Left(both)
|
||||||
, Right(both)
|
, Right(both)
|
||||||
|
@ -61,7 +61,7 @@ struct V_VolumeSlide
|
||||||
s8 Mode;
|
s8 Mode;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
V_VolumeSlide() {}
|
V_VolumeSlide() = default;
|
||||||
V_VolumeSlide(s16 regval, s32 fullvol)
|
V_VolumeSlide(s16 regval, s32 fullvol)
|
||||||
: Reg_VOL(regval)
|
: Reg_VOL(regval)
|
||||||
, Value(fullvol)
|
, Value(fullvol)
|
||||||
|
@ -83,8 +83,7 @@ struct V_VolumeSlideLR
|
||||||
V_VolumeSlide Right;
|
V_VolumeSlide Right;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
V_VolumeSlideLR() {}
|
V_VolumeSlideLR() = default;
|
||||||
|
|
||||||
V_VolumeSlideLR(s16 regval, s32 bothval)
|
V_VolumeSlideLR(s16 regval, s32 bothval)
|
||||||
: Left(regval, bothval)
|
: Left(regval, bothval)
|
||||||
, Right(regval, bothval)
|
, Right(regval, bothval)
|
||||||
|
|
Loading…
Reference in New Issue