Fix nfcInit error

This commit is contained in:
Javi 2016-02-04 17:20:40 +01:00
parent 14005eee52
commit c3b22e3922

View File

@ -18,7 +18,7 @@ Result nfcInit(void)
ret = srvGetServiceHandle(&nfcHandle, "nfc:u");
if (R_SUCCEEDED(ret))
{
ret = nfc_Initialize(0x02);
ret = NFC_Initialize(0x02);
if (R_FAILED(ret)) svcCloseHandle(nfcHandle);
}
if (R_FAILED(ret)) AtomicDecrement(&nfcRefCount);