summaryrefslogtreecommitdiffstats
path: root/src/core/hid/input_converter.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-09-25 05:52:33 +0200
committergerman77 <juangerman-13@hotmail.com>2022-10-02 19:32:26 +0200
commit3ce0ef04ddcb2420b61f8c6d22f8039fb7359856 (patch)
treef2e843da46429df8ae6c1f8f415bc507d3458f28 /src/core/hid/input_converter.cpp
parentservice: nfp: Rewrite and implement applet calls (diff)
downloadyuzu-3ce0ef04ddcb2420b61f8c6d22f8039fb7359856.tar
yuzu-3ce0ef04ddcb2420b61f8c6d22f8039fb7359856.tar.gz
yuzu-3ce0ef04ddcb2420b61f8c6d22f8039fb7359856.tar.bz2
yuzu-3ce0ef04ddcb2420b61f8c6d22f8039fb7359856.tar.lz
yuzu-3ce0ef04ddcb2420b61f8c6d22f8039fb7359856.tar.xz
yuzu-3ce0ef04ddcb2420b61f8c6d22f8039fb7359856.tar.zst
yuzu-3ce0ef04ddcb2420b61f8c6d22f8039fb7359856.zip
Diffstat (limited to 'src/core/hid/input_converter.cpp')
-rw-r--r--src/core/hid/input_converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp
index e7b871acc..fe9915abe 100644
--- a/src/core/hid/input_converter.cpp
+++ b/src/core/hid/input_converter.cpp
@@ -291,7 +291,7 @@ Common::Input::NfcStatus TransformToNfc(const Common::Input::CallbackStatus& cal
Common::Input::NfcStatus nfc{};
switch (callback.type) {
case Common::Input::InputType::Nfc:
- nfc = callback.nfc_status;
+ return callback.nfc_status;
break;
default:
LOG_ERROR(Input, "Conversion from type {} to NFC not implemented", callback.type);