summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-11-14 11:54:45 -0800
committerGravatar GitHub2018-11-14 11:54:45 -0800
commit7384b33c4f191eb74e2e8c36b31c958412469e7b (patch)
treea9cdc80769aa9b777ed441ef3aa19e9b7b3a2784
parentMerge pull request #1688 from lioncash/unused (diff)
parenthid/npad: Add missing break in switch statement within Controller_NPad::OnUpd... (diff)
downloadyuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar.gz
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.tar.xz
yuzu-7384b33c4f191eb74e2e8c36b31c958412469e7b.zip
Merge pull request #1689 from lioncash/break
hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate
-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) {
310 dual_entry.pad_states.raw = pad_state.raw; 310 dual_entry.pad_states.raw = pad_state.raw;
311 dual_entry.l_stick = lstick_entry; 311 dual_entry.l_stick = lstick_entry;
312 dual_entry.r_stick = rstick_entry; 312 dual_entry.r_stick = rstick_entry;
313 break;
313 case NPadControllerType::JoyLeft: 314 case NPadControllerType::JoyLeft:
314 left_entry.connection_status.raw = 0; 315 left_entry.connection_status.raw = 0;
315 316