diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-22 02:02:04 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-01-11 23:23:16 +0100 |
commit | 8fc6e92ef187d9be177e05cdb94ed55d5339a308 (patch) | |
tree | d539f28d4503c63cda1d5cc3a84930e9c062d8d7 /src/core | |
parent | Merge pull request #5229 from Morph1984/fullscreen-opt (diff) | |
download | yuzu-8fc6e92ef187d9be177e05cdb94ed55d5339a308.tar yuzu-8fc6e92ef187d9be177e05cdb94ed55d5339a308.tar.gz yuzu-8fc6e92ef187d9be177e05cdb94ed55d5339a308.tar.bz2 yuzu-8fc6e92ef187d9be177e05cdb94ed55d5339a308.tar.lz yuzu-8fc6e92ef187d9be177e05cdb94ed55d5339a308.tar.xz yuzu-8fc6e92ef187d9be177e05cdb94ed55d5339a308.tar.zst yuzu-8fc6e92ef187d9be177e05cdb94ed55d5339a308.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index 5557da72e..641bcadea 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp @@ -190,12 +190,6 @@ private: void GetDeviceState(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_NFP, "called"); - auto nfc_event = nfp_interface.GetNFCEvent(); - if (!nfc_event->ShouldWait(&ctx.GetThread()) && !has_attached_handle) { - device_state = DeviceState::TagFound; - nfc_event->Clear(); - } - IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); rb.Push<u32>(static_cast<u32>(device_state)); |