mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
Fix tab issue
This commit is contained in:
parent
8fccf55c17
commit
27a48aa720
@ -21,7 +21,7 @@ Result nifmInitialize(void) {
|
|||||||
|
|
||||||
if (serviceIsActive(&g_nifmSrv))
|
if (serviceIsActive(&g_nifmSrv))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
Result rc;
|
Result rc;
|
||||||
rc = smGetService(&g_nifmSrv, "nifm:u");
|
rc = smGetService(&g_nifmSrv, "nifm:u");
|
||||||
|
|
||||||
@ -146,9 +146,9 @@ Result nifmIsEthernetCommunicationEnabled(bool* out) {
|
|||||||
resp = r.Raw;
|
resp = r.Raw;
|
||||||
|
|
||||||
rc = resp->result;
|
rc = resp->result;
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc) && out)
|
if (R_SUCCEEDED(rc) && out)
|
||||||
*out = resp->out != 0;
|
*out = resp->out != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
@ -183,9 +183,9 @@ Result nifmIsAnyForegroundRequestAccepted(bool* out) {
|
|||||||
resp = r.Raw;
|
resp = r.Raw;
|
||||||
|
|
||||||
rc = resp->result;
|
rc = resp->result;
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc) && out)
|
if (R_SUCCEEDED(rc) && out)
|
||||||
*out = resp->out != 0;
|
*out = resp->out != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
|
Loading…
Reference in New Issue
Block a user