diff options
| -rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 2 |
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) { | |||
| 107 | switch (controller_type) { | 107 | switch (controller_type) { |
| 108 | case NPadControllerType::None: | 108 | case NPadControllerType::None: |
| 109 | UNREACHABLE(); | 109 | UNREACHABLE(); |
| 110 | break; | ||
| 110 | case NPadControllerType::Handheld: | 111 | case NPadControllerType::Handheld: |
| 111 | controller.joy_styles.handheld.Assign(1); | 112 | controller.joy_styles.handheld.Assign(1); |
| 112 | controller.device_type.handheld.Assign(1); | 113 | controller.device_type.handheld.Assign(1); |
| @@ -363,6 +364,7 @@ void Controller_NPad::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8* | |||
| 363 | switch (controller_type) { | 364 | switch (controller_type) { |
| 364 | case NPadControllerType::None: | 365 | case NPadControllerType::None: |
| 365 | UNREACHABLE(); | 366 | UNREACHABLE(); |
| 367 | break; | ||
| 366 | case NPadControllerType::Handheld: | 368 | case NPadControllerType::Handheld: |
| 367 | handheld_entry.connection_status.raw = 0; | 369 | handheld_entry.connection_status.raw = 0; |
| 368 | handheld_entry.connection_status.IsWired.Assign(1); | 370 | handheld_entry.connection_status.IsWired.Assign(1); |