diff --git a/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp b/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp index 244d6cdfed..f196955a15 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp +++ b/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp @@ -28,16 +28,12 @@ #include "Core/Movie.h" #include "Core/NetPlayProto.h" -DSPLLE::DSPLLE() - : m_hDSPThread(), m_csDSPThreadActive(), m_bDSPThread(false), m_bIsRunning(false), - m_cycle_count(0) -{ -} - static Common::Event dspEvent; static Common::Event ppcEvent; static bool requestDisableThread; +DSPLLE::DSPLLE() = default; + void DSPLLE::DoState(PointerWrap& p) { bool is_hle = false; diff --git a/Source/Core/Core/HW/DSPLLE/DSPLLE.h b/Source/Core/Core/HW/DSPLLE/DSPLLE.h index e7a80603a5..b45e5a8071 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPLLE.h +++ b/Source/Core/Core/HW/DSPLLE/DSPLLE.h @@ -39,7 +39,7 @@ private: std::thread m_hDSPThread; std::mutex m_csDSPThreadActive; - bool m_bDSPThread; + bool m_bDSPThread = false; Common::Flag m_bIsRunning; - std::atomic m_cycle_count; + std::atomic m_cycle_count{}; };