Fix building with latest commit

This commit is contained in:
TuxSH 2019-07-16 01:20:59 +02:00
parent 5ae7b3ea9e
commit a4a3ebed50

View File

@ -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);
}