2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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;