mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 17:14:28 -04:00
ro: update for new sf semantics
This commit is contained in:
parent
21236020cb
commit
170034aed3
23 changed files with 192 additions and 119 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue