mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-23 11:16:57 -04:00
libstrat: namespace hossynch.hpp
This commit is contained in:
parent
73d904036d
commit
bb223eb5ae
57 changed files with 923 additions and 773 deletions
|
@ -24,7 +24,7 @@ namespace sts::hid {
|
|||
namespace {
|
||||
|
||||
/* Global lock. */
|
||||
HosMutex g_hid_lock;
|
||||
os::Mutex g_hid_lock;
|
||||
bool g_initialized_hid = false;
|
||||
|
||||
/* Helper. */
|
||||
|
@ -53,7 +53,7 @@ namespace sts::hid {
|
|||
}
|
||||
|
||||
Result GetKeysHeld(u64 *out) {
|
||||
std::scoped_lock<HosMutex> lk(g_hid_lock);
|
||||
std::scoped_lock lk(g_hid_lock);
|
||||
|
||||
R_TRY(EnsureHidInitialized());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue