From e85005191ae8173ac6e3ced99961389c8e461f4c Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 11 Dec 2019 19:57:55 -0800 Subject: [PATCH] actually use proper function --- nx/source/services/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/services/hid.c b/nx/source/services/hid.c index 8654a769..df04ea79 100644 --- a/nx/source/services/hid.c +++ b/nx/source/services/hid.c @@ -466,7 +466,7 @@ u64 hidKeysAllHeld() { u32 hidGetControllerCount() { u32 count = 0; - rwlockReadlock(&g_hidLock); + rwlockReadLock(&g_hidLock); for (u32 controller=0; controller<10; controller++) { if ((g_controllerEntries[controller].connectionState & CONTROLLER_STATE_CONNECTED) != 0) count++; }