mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
Update nifm.c
This commit is contained in:
parent
9d260c36bd
commit
af349dc2a1
@ -138,13 +138,12 @@ Result nifmSetWirelessCommunicationEnabled(bool enable) {
|
|||||||
|
|
||||||
raw->magic = SFCI_MAGIC;
|
raw->magic = SFCI_MAGIC;
|
||||||
raw->cmd_id = 16;
|
raw->cmd_id = 16;
|
||||||
raw->value = enable != 0;
|
raw->value = enable!= 0;
|
||||||
|
|
||||||
Result rc = serviceIpcDispatch(&g_nifmIGS);
|
Result rc = serviceIpcDispatch(&g_nifmIGS);
|
||||||
|
|
||||||
if (R_SUCCEEDED(rc)) {
|
if (R_SUCCEEDED(rc)) {
|
||||||
IpcParsedCommand r;
|
IpcParsedCommand r;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
u64 magic;
|
u64 magic;
|
||||||
u64 result;
|
u64 result;
|
||||||
|
Loading…
Reference in New Issue
Block a user