DSPLLE: in-class initialize variables
This commit is contained in:
parent
aaa1da5abc
commit
8b29b09f24
|
@ -28,16 +28,12 @@
|
||||||
#include "Core/Movie.h"
|
#include "Core/Movie.h"
|
||||||
#include "Core/NetPlayProto.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 dspEvent;
|
||||||
static Common::Event ppcEvent;
|
static Common::Event ppcEvent;
|
||||||
static bool requestDisableThread;
|
static bool requestDisableThread;
|
||||||
|
|
||||||
|
DSPLLE::DSPLLE() = default;
|
||||||
|
|
||||||
void DSPLLE::DoState(PointerWrap& p)
|
void DSPLLE::DoState(PointerWrap& p)
|
||||||
{
|
{
|
||||||
bool is_hle = false;
|
bool is_hle = false;
|
||||||
|
|
|
@ -39,7 +39,7 @@ private:
|
||||||
|
|
||||||
std::thread m_hDSPThread;
|
std::thread m_hDSPThread;
|
||||||
std::mutex m_csDSPThreadActive;
|
std::mutex m_csDSPThreadActive;
|
||||||
bool m_bDSPThread;
|
bool m_bDSPThread = false;
|
||||||
Common::Flag m_bIsRunning;
|
Common::Flag m_bIsRunning;
|
||||||
std::atomic<u32> m_cycle_count;
|
std::atomic<u32> m_cycle_count{};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue