ro: update for new sf semantics

This commit is contained in:
Michael Scire 2021-01-17 22:03:26 -08:00 committed by SciresM
parent 21236020cb
commit 170034aed3
23 changed files with 192 additions and 119 deletions

View file

@ -53,7 +53,7 @@ namespace ams::hid {
Result EnsureHidInitialized() {
if (!g_initialized_hid) {
if (!serviceIsActive(hidGetServiceSession())) {
if (!pm::info::HasLaunchedProgram(ncm::SystemProgramId::Hid)) {
if (!pm::info::HasLaunchedBootProgram(ncm::SystemProgramId::Hid)) {
return MAKERESULT(Module_Libnx, LibnxError_InitFail_HID);
}
InitializeHid();