diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-06 04:17:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-06 04:17:32 +0100 |
commit | 04779b3d2a5e25a3808d754d1ea1767f0b8c0328 (patch) | |
tree | fd003772877453e89a19d6509bc675fff3a35f54 /src/core/hle/service/nfc/nfc_user.cpp | |
parent | Merge pull request #9360 from Kelebek1/R-E-S-P-E-C-T (diff) | |
parent | input_common: Allow mifare files (diff) | |
download | yuzu-04779b3d2a5e25a3808d754d1ea1767f0b8c0328.tar yuzu-04779b3d2a5e25a3808d754d1ea1767f0b8c0328.tar.gz yuzu-04779b3d2a5e25a3808d754d1ea1767f0b8c0328.tar.bz2 yuzu-04779b3d2a5e25a3808d754d1ea1767f0b8c0328.tar.lz yuzu-04779b3d2a5e25a3808d754d1ea1767f0b8c0328.tar.xz yuzu-04779b3d2a5e25a3808d754d1ea1767f0b8c0328.tar.zst yuzu-04779b3d2a5e25a3808d754d1ea1767f0b8c0328.zip |
Diffstat (limited to 'src/core/hle/service/nfc/nfc_user.cpp')
-rw-r--r-- | src/core/hle/service/nfc/nfc_user.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nfc/nfc_user.cpp b/src/core/hle/service/nfc/nfc_user.cpp index ced2d560b..4615697e2 100644 --- a/src/core/hle/service/nfc/nfc_user.cpp +++ b/src/core/hle/service/nfc/nfc_user.cpp @@ -201,7 +201,7 @@ void IUser::AttachAvailabilityChangeEvent(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<NFP::TagProtocol>()}; LOG_INFO(Service_NFC, "called, device_handle={}, nfp_protocol={}", device_handle, nfp_protocol); if (state == State::NonInitialized) { @@ -267,7 +267,7 @@ void IUser::GetTagInfo(Kernel::HLERequestContext& ctx) { } NFP::TagInfo tag_info{}; - const auto result = device.value()->GetTagInfo(tag_info); + const auto result = device.value()->GetTagInfo(tag_info, false); ctx.WriteBuffer(tag_info); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(result); |