Update nifm.c

This commit is contained in:
exelix 2019-03-03 19:23:57 +01:00
parent 9d260c36bd
commit af349dc2a1

View File

@ -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;