mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 02:52:13 +02:00
Fix invisible tabbing issue, and correct file header
This commit is contained in:
parent
801b6fe1f4
commit
fd8063ce9a
@ -1,8 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* @file nifm.h
|
* @file nifm.h
|
||||||
* @brief Network interface service IPC wrapper.
|
* @brief Network interface service IPC wrapper.
|
||||||
* @author shadowninja108
|
* @author shadowninja108, shibboleet
|
||||||
* @author shibboleet
|
|
||||||
* @copyright libnx Authors
|
* @copyright libnx Authors
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* @file nifm.h
|
* @file nifm.c
|
||||||
* @brief Network interface service IPC wrapper.
|
* @brief Network interface service IPC wrapper.
|
||||||
* @author shadowninja10, shibboleet
|
* @author shadowninja10, shibboleet
|
||||||
* @copyright libnx Authors
|
* @copyright libnx Authors
|
||||||
@ -145,7 +145,7 @@ 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;
|
||||||
}
|
}
|
||||||
@ -182,7 +182,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user