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 Right;
|
||||
|
||||
V_VolumeLR() {}
|
||||
V_VolumeLR() = default;
|
||||
V_VolumeLR(s32 both)
|
||||
: Left(both)
|
||||
, Right(both)
|
||||
|
@ -61,7 +61,7 @@ struct V_VolumeSlide
|
|||
s8 Mode;
|
||||
|
||||
public:
|
||||
V_VolumeSlide() {}
|
||||
V_VolumeSlide() = default;
|
||||
V_VolumeSlide(s16 regval, s32 fullvol)
|
||||
: Reg_VOL(regval)
|
||||
, Value(fullvol)
|
||||
|
@ -83,8 +83,7 @@ struct V_VolumeSlideLR
|
|||
V_VolumeSlide Right;
|
||||
|
||||
public:
|
||||
V_VolumeSlideLR() {}
|
||||
|
||||
V_VolumeSlideLR() = default;
|
||||
V_VolumeSlideLR(s16 regval, s32 bothval)
|
||||
: Left(regval, bothval)
|
||||
, Right(regval, bothval)
|
||||
|
|
Loading…
Reference in New Issue