mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-20 10:24:58 +00:00
core: Switch to std threading primitives
This commit is contained in:
parent
f39744cf62
commit
e2b1b059ed
24 changed files with 98 additions and 329 deletions
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include <types.h>
|
||||
#include "Lib/Threads.h"
|
||||
#include <mutex>
|
||||
|
||||
namespace Emulator::Host::Controller {
|
||||
struct State {
|
||||
|
@ -21,7 +21,7 @@ class GameController {
|
|||
|
||||
|
||||
private:
|
||||
Lib::Mutex m_mutex;
|
||||
std::mutex m_mutex;
|
||||
bool m_connected = false;
|
||||
State m_last_state;
|
||||
int m_connected_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue