diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-18 20:41:08 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-04-18 20:41:08 +0200 |
commit | a8d5d08e2e9137cb9f71df2bb23172a3baefbaac (patch) | |
tree | fbba64a343d463052803bd415f9ecc4e3d950c92 /src | |
parent | Merge pull request #3666 from bunnei/new-vmm (diff) | |
download | yuzu-a8d5d08e2e9137cb9f71df2bb23172a3baefbaac.tar yuzu-a8d5d08e2e9137cb9f71df2bb23172a3baefbaac.tar.gz yuzu-a8d5d08e2e9137cb9f71df2bb23172a3baefbaac.tar.bz2 yuzu-a8d5d08e2e9137cb9f71df2bb23172a3baefbaac.tar.lz yuzu-a8d5d08e2e9137cb9f71df2bb23172a3baefbaac.tar.xz yuzu-a8d5d08e2e9137cb9f71df2bb23172a3baefbaac.tar.zst yuzu-a8d5d08e2e9137cb9f71df2bb23172a3baefbaac.zip |
Diffstat (limited to 'src')
-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) { 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); |