Ensure that IsWirelessCommunicationEnabled returns a proper value

This commit is contained in:
shibbo 2019-01-25 13:05:42 -05:00
parent 3702d001c3
commit db35968c43

View File

@ -110,7 +110,8 @@ Result nifmIsWirelessCommunicationEnabled(bool* out) {
resp = r.Raw; resp = r.Raw;
rc = resp->result; rc = resp->result;
*out = resp->out; if (R_SUCCEEDED(rc) && out)
*out = resp->out != 0;
} }
return rc; return rc;