summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/nfp_user.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-11-20 09:48:39 +0100
committerGitHub <noreply@github.com>2022-11-20 09:48:39 +0100
commit57a05b1653b316412492b7cf83738b702865b47e (patch)
treecb76a9aead5f545250301eb7928ecfb03e706931 /src/core/hle/service/nfp/nfp_user.cpp
parentMerge pull request #9249 from goldenx86/available-vram (diff)
parentgeneral: Address review comments (diff)
downloadyuzu-57a05b1653b316412492b7cf83738b702865b47e.tar
yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.gz
yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.bz2
yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.lz
yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.xz
yuzu-57a05b1653b316412492b7cf83738b702865b47e.tar.zst
yuzu-57a05b1653b316412492b7cf83738b702865b47e.zip
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) {