aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nfp/nfp_user.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-11-13 10:52:48 -0600
committergerman77 <juangerman-13@hotmail.com>2022-11-13 10:52:48 -0600
commit6c045c9beb9c202fdea49274edd845fb2af491c3 (patch)
treef3a6dbcd012e197e26b32c57ab0795d5caabc425 /src/core/hle/service/nfp/nfp_user.cpp
parent08091ff3e38665181fedcc476a7b83b84159e7a4 (diff)
service: nfc: fix tagprotocol and implement GetApplicationAreaId
Diffstat (limited to 'src/core/hle/service/nfp/nfp_user.cpp')
-rw-r--r--src/core/hle/service/nfp/nfp_user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nfp/nfp_user.cpp b/src/core/hle/service/nfp/nfp_user.cpp
index 33e2ef518..ac492cc27 100644
--- a/src/core/hle/service/nfp/nfp_user.cpp
+++ b/src/core/hle/service/nfp/nfp_user.cpp
@@ -130,7 +130,7 @@ void IUser::ListDevices(Kernel::HLERequestContext& ctx) {
void IUser::StartDetection(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto device_handle{rp.Pop<u64>()};
- const auto nfp_protocol{rp.Pop<s32>()};
+ const auto nfp_protocol{rp.PopEnum<TagProtocol>()};
LOG_INFO(Service_NFP, "called, device_handle={}, nfp_protocol={}", device_handle, nfp_protocol);
if (state == State::NonInitialized) {