mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 02:22:15 +02:00
Update nfc.c
This commit is contained in:
parent
0856a9a73c
commit
908eb4e1a6
@ -236,7 +236,7 @@ Result nfpUnmount(const NfcDeviceHandle *handle) {
|
||||
return _nfcCmdInDevhandleNoOut(&g_nfpInterface, handle, 6);
|
||||
}
|
||||
|
||||
Result nfpOpenApplicationArea(const NfcDeviceHandle *handle, u32 app_id, u32 *npad_id) {
|
||||
Result nfpOpenApplicationArea(const NfcDeviceHandle *handle, u32 app_id) {
|
||||
if (g_nfpServiceType == NfpServiceType_System)
|
||||
return MAKERESULT(Module_Libnx, LibnxError_NotInitialized);
|
||||
|
||||
@ -246,7 +246,7 @@ Result nfpOpenApplicationArea(const NfcDeviceHandle *handle, u32 app_id, u32 *np
|
||||
} in = { *handle, app_id };
|
||||
|
||||
serviceAssumeDomain(&g_nfpInterface);
|
||||
return serviceDispatchInOut(&g_nfpInterface, 7, in, *npad_id);
|
||||
return serviceDispatchIn(&g_nfpInterface, 7, in);
|
||||
}
|
||||
|
||||
Result nfpGetApplicationArea(const NfcDeviceHandle *handle, void* buf, size_t buf_size) {
|
||||
|
Loading…
Reference in New Issue
Block a user