summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-22 02:02:04 +0100
committerbunnei <bunneidev@gmail.com>2021-01-11 23:23:16 +0100
commit8fc6e92ef187d9be177e05cdb94ed55d5339a308 (patch)
treed539f28d4503c63cda1d5cc3a84930e9c062d8d7 /src/core/hle/service
parentMerge pull request #5229 from Morph1984/fullscreen-opt (diff)
downloadyuzu-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/hle/service')
-rw-r--r--src/core/hle/service/nfp/nfp.cpp6
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));