summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar german772022-10-22 14:05:00 -0500
committerGravatar german772022-10-22 14:05:00 -0500
commit2ccbf5abdd6d2b2a7c0d80371077d6585865cea6 (patch)
tree9a22c0cfc6d3b2cf944a919c6f0aeb5ed5b3562d /src
parentservice: nfp: Allow amiibos without keys (diff)
downloadyuzu-2ccbf5abdd6d2b2a7c0d80371077d6585865cea6.tar.gz
yuzu-2ccbf5abdd6d2b2a7c0d80371077d6585865cea6.tar.xz
yuzu-2ccbf5abdd6d2b2a7c0d80371077d6585865cea6.zip
core: hid: Add handheld to nfc devices
Diffstat (limited to 'src')
-rw-r--r--src/core/hid/emulated_controller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 025f1c78e..28c654df5 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -1048,6 +1048,7 @@ bool EmulatedController::HasNfc() const {
1048 case NpadStyleIndex::JoyconRight: 1048 case NpadStyleIndex::JoyconRight:
1049 case NpadStyleIndex::JoyconDual: 1049 case NpadStyleIndex::JoyconDual:
1050 case NpadStyleIndex::ProController: 1050 case NpadStyleIndex::ProController:
1051 case NpadStyleIndex::Handheld:
1051 break; 1052 break;
1052 default: 1053 default:
1053 return false; 1054 return false;