Skip to content
Snippets Groups Projects
Unverified Commit 45964e6f authored by Mat M's avatar Mat M Committed by GitHub
Browse files

Merge pull request #3715 from bunnei/fix-impl-fallthrough

service: hid: npad: Fix implicit fallthrough errors.
parents 907ba879 a8d5d08e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment