diff --git a/Source/Core/Core/DSP/DSPAccelerator.h b/Source/Core/Core/DSP/DSPAccelerator.h index c85c6db740..723feaf52e 100644 --- a/Source/Core/Core/DSP/DSPAccelerator.h +++ b/Source/Core/Core/DSP/DSPAccelerator.h @@ -83,7 +83,7 @@ protected: BitField<3, 1, FormatDecode> decode; BitField<4, 2, FormatGainCfg> gain_cfg; BitField<6, 10, u16> unk; - } m_sample_format; + } m_sample_format{0}; s16 m_gain = 0; s16 m_yn1 = 0; diff --git a/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp b/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp index a5e3302746..a78a09f5ad 100644 --- a/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp +++ b/Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp @@ -17,7 +17,7 @@ public: { std::array coefs{}; m_accov_raised = false; - return Read(coefs.data()); + return ReadSample(coefs.data()); } bool EndExceptionRaised() const { return m_accov_raised; }