summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-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:
190 void GetDeviceState(Kernel::HLERequestContext& ctx) { 190 void GetDeviceState(Kernel::HLERequestContext& ctx) {
191 LOG_DEBUG(Service_NFP, "called"); 191 LOG_DEBUG(Service_NFP, "called");
192 192
193 auto nfc_event = nfp_interface.GetNFCEvent();
194 if (!nfc_event->ShouldWait(&ctx.GetThread()) && !has_attached_handle) {
195 device_state = DeviceState::TagFound;
196 nfc_event->Clear();
197 }
198
199 IPC::ResponseBuilder rb{ctx, 3}; 193 IPC::ResponseBuilder rb{ctx, 3};
200 rb.Push(RESULT_SUCCESS); 194 rb.Push(RESULT_SUCCESS);
201 rb.Push<u32>(static_cast<u32>(device_state)); 195 rb.Push<u32>(static_cast<u32>(device_state));