aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nfp/nfp_user.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-11-20 09:31:20 -0600
committerGitHub <noreply@github.com>2022-11-20 09:31:20 -0600
commitdb7bcd51ae09c4ef25e08096de563903f61e2380 (patch)
tree5ae9977b48e1aff118fae3ebffb215b0b4afa887 /src/core/hle/service/nfp/nfp_user.cpp
parent327d225c3e9da802a31735edc113891960942a3e (diff)
parent57a05b1653b316412492b7cf83738b702865b47e (diff)
Merge branch 'master' into nfc_impl
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 3f7f17598..2fe3c0ea0 100644
--- a/src/core/hle/service/nfp/nfp_user.cpp
+++ b/src/core/hle/service/nfp/nfp_user.cpp
@@ -131,7 +131,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) {