diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-06-17 05:57:21 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-06-22 01:54:58 +0200 |
commit | 84d43489c5df9f450efb0293cc58161d08e3b882 (patch) | |
tree | c4d45b021c78392956dc58d409a34632fe135d2b /src/core/hid/input_converter.cpp | |
parent | Merge pull request #10783 from liamwhite/memory (diff) | |
download | yuzu-84d43489c5df9f450efb0293cc58161d08e3b882.tar yuzu-84d43489c5df9f450efb0293cc58161d08e3b882.tar.gz yuzu-84d43489c5df9f450efb0293cc58161d08e3b882.tar.bz2 yuzu-84d43489c5df9f450efb0293cc58161d08e3b882.tar.lz yuzu-84d43489c5df9f450efb0293cc58161d08e3b882.tar.xz yuzu-84d43489c5df9f450efb0293cc58161d08e3b882.tar.zst yuzu-84d43489c5df9f450efb0293cc58161d08e3b882.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hid/input_converter.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp index 4ccb1c596..a05716fd8 100644 --- a/src/core/hid/input_converter.cpp +++ b/src/core/hid/input_converter.cpp @@ -299,11 +299,7 @@ Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& cal Common::Input::NfcStatus nfc{}; switch (callback.type) { case Common::Input::InputType::Nfc: - nfc = { - .state = callback.nfc_status, - .data = callback.raw_data, - }; - break; + return callback.nfc_status; default: LOG_ERROR(Input, "Conversion from type {} to NFC not implemented", callback.type); break; |