cellPad: do not use recusrive mutex

This commit is contained in:
Eladash 2021-05-28 12:35:03 +03:00 committed by Ivan
parent 6ff9aab2ca
commit 7d89938624
3 changed files with 28 additions and 33 deletions

View file

@ -20,7 +20,7 @@ LOG_CHANNEL(input_log, "Input");
namespace pad
{
atomic_t<pad_thread*> g_current = nullptr;
std::recursive_mutex g_pad_mutex;
shared_mutex g_pad_mutex;
std::string g_title_id;
atomic_t<bool> g_reset{false};
atomic_t<bool> g_enabled{true};