mirror of https://github.com/PCSX2/pcsx2.git
GS.h: use std::atomic
This commit is contained in:
parent
5a84a0d8d2
commit
8555a87380
|
@ -291,8 +291,8 @@ public:
|
|||
// has more than one command in it when the thread is kicked.
|
||||
int m_CopyDataTally;
|
||||
|
||||
Semaphore m_sem_OpenDone;
|
||||
volatile bool m_PluginOpened;
|
||||
Semaphore m_sem_OpenDone;
|
||||
std::atomic<bool> m_PluginOpened;
|
||||
|
||||
// These vars maintain instance data for sending Data Packets.
|
||||
// Only one data packet can be constructed and uploaded at a time.
|
||||
|
|
Loading…
Reference in New Issue