summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-14 20:54:45 +0100
committerGitHub <noreply@github.com>2018-11-14 20:54:45 +0100
commit7384b33c4f191eb74e2e8c36b31c958412469e7b (patch)
treea9cdc80769aa9b777ed441ef3aa19e9b7b3a2784
parentMerge pull request #1688 from lioncash/unused (diff)
parenthid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate() (diff)
downloadyuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar.gz
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar.bz2
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar.lz
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar.xz
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar.zst
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.zip
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index ff9b64be4..56c415e4e 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -310,6 +310,7 @@ void Controller_NPad::OnUpdate(u8* data, std::size_t data_len) {
dual_entry.pad_states.raw = pad_state.raw;
dual_entry.l_stick = lstick_entry;
dual_entry.r_stick = rstick_entry;
+ break;
case NPadControllerType::JoyLeft:
left_entry.connection_status.raw = 0;