mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-19 17:35:06 -04:00
stratosphere: use SdkMutex/SdkRecursiveMutex over Mutex
This commit is contained in:
parent
a4fe1bb5d8
commit
41ab4c2c68
70 changed files with 188 additions and 645 deletions
|
@ -20,8 +20,8 @@ namespace ams::hid {
|
|||
namespace {
|
||||
|
||||
/* Global lock. */
|
||||
os::Mutex g_hid_lock(false);
|
||||
bool g_initialized_hid = false;
|
||||
constinit os::SdkMutex g_hid_lock;
|
||||
constinit bool g_initialized_hid = false;
|
||||
|
||||
/* Set of supported NpadIds (we want to read from any connected controllers). */
|
||||
constexpr const HidNpadIdType NpadIdTypes[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue