summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2020-04-18 20:44:20 +0200
committerGitHub <noreply@github.com>2020-04-18 20:44:20 +0200
commit45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4 (patch)
treef65d7b98fd1ba8407e1ef1c2d09d06963f92418f /src
parentMerge pull request #3713 from lioncash/time (diff)
parentservice: hid: npad: Fix implicit fallthrough errors. (diff)
downloadyuzu-45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4.tar
yuzu-45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4.tar.gz
yuzu-45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4.tar.bz2
yuzu-45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4.tar.lz
yuzu-45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4.tar.xz
yuzu-45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4.tar.zst
yuzu-45964e6fec167f153e2c5ee7c4fe7dd26d67ebe4.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index c1e32b28c..2ccfffc19 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -107,6 +107,7 @@ void Controller_NPad::InitNewlyAddedControler(std::size_t controller_idx) {
switch (controller_type) {
case NPadControllerType::None:
UNREACHABLE();
+ break;
case NPadControllerType::Handheld:
controller.joy_styles.handheld.Assign(1);
controller.device_type.handheld.Assign(1);
@@ -363,6 +364,7 @@ void Controller_NPad::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8*
switch (controller_type) {
case NPadControllerType::None:
UNREACHABLE();
+ break;
case NPadControllerType::Handheld:
handheld_entry.connection_status.raw = 0;
handheld_entry.connection_status.IsWired.Assign(1);