mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-21 02:52:44 +02:00
Fix building with latest commit
This commit is contained in:
parent
5ae7b3ea9e
commit
a4a3ebed50
@ -38,7 +38,7 @@ namespace sts::hid {
|
||||
|
||||
Result EnsureHidInitialized() {
|
||||
if (!g_initialized_hid) {
|
||||
if (!serviceIsActive(hidGetSessionService())) {
|
||||
if (!serviceIsActive(hidGetServiceSession())) {
|
||||
if (!pm::info::HasLaunchedTitle(ncm::TitleId::Hid)) {
|
||||
return MAKERESULT(Module_Libnx, LibnxError_InitFail_HID);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user