core: Switch to std threading primitives

This commit is contained in:
GPUCode 2023-10-22 17:10:25 +03:00
parent f39744cf62
commit e2b1b059ed
24 changed files with 98 additions and 329 deletions

View file

@ -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;