diff options
author | german77 <juangerman-13@hotmail.com> | 2021-11-15 04:56:54 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:28 +0100 |
commit | 42949738f2c01a4125a9a385c9100240181153ec (patch) | |
tree | 5de97be0bc08a1dd4ff5138196c08a6bf2e08e70 /src/core/hle/service/hid/controllers/npad.cpp | |
parent | core/hid: Improve accuary of mouse implementation (diff) | |
download | yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.gz yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.bz2 yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.lz yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.xz yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.zst yuzu-42949738f2c01a4125a9a385c9100240181153ec.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/npad.cpp')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index eaec79139..4b23230e1 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -345,7 +345,7 @@ void Controller_NPad::RequestPadStateUpdate(Core::HID::NpadIdType npad_id) { constexpr btn right_button_mask = btn::A | btn::B | btn::X | btn::Y | btn::StickR | btn::R | btn::ZR | btn::Plus | btn::StickRLeft | btn::StickRUp | btn::StickRRight | btn::StickRDown; - pad_entry.npad_buttons.raw |= button_state.raw & right_button_mask; + pad_entry.npad_buttons.raw = button_state.raw & right_button_mask; pad_entry.r_stick = stick_state.right; } |