Merge pull request #1689 from lioncash/break

hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate
This commit is contained in:
bunnei 2018-11-14 11:54:45 -08:00 committed by GitHub
commit 7384b33c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.pad_states.raw = pad_state.raw;
dual_entry.l_stick = lstick_entry; dual_entry.l_stick = lstick_entry;
dual_entry.r_stick = rstick_entry; dual_entry.r_stick = rstick_entry;
break;
case NPadControllerType::JoyLeft: case NPadControllerType::JoyLeft:
left_entry.connection_status.raw = 0; left_entry.connection_status.raw = 0;