yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

hle: service: nfp: Remove incorrect signaling behavior in GetDeviceState.

This commit is contained in:
bunnei 2020-12-21 17:02:04 -08:00
parent 46cd71d1c7
commit 8fc6e92ef1
1 changed files with 0 additions and 6 deletions

View File

@ -190,12 +190,6 @@ private:
void GetDeviceState(Kernel::HLERequestContext& ctx) { void GetDeviceState(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_NFP, "called"); 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}; IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.Push<u32>(static_cast<u32>(device_state)); rb.Push<u32>(static_cast<u32>(device_state));