diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-01-28 03:35:51 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2023-01-30 02:11:46 +0100 |
commit | 11fea5deea6dd72badbed521ac5639a48d591dc6 (patch) | |
tree | 22edff6c56eb1861020481cac86aacbf599162e2 /src/input_common/helpers/joycon_protocol/generic_functions.cpp | |
parent | Merge pull request #9706 from Morph1984/github-tagged-merge (diff) | |
download | yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.gz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.bz2 yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.lz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.xz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.zst yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.zip |
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/generic_functions.cpp')
-rw-r--r-- | src/input_common/helpers/joycon_protocol/generic_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/helpers/joycon_protocol/generic_functions.cpp b/src/input_common/helpers/joycon_protocol/generic_functions.cpp index 484c208e6..f3fefd5b6 100644 --- a/src/input_common/helpers/joycon_protocol/generic_functions.cpp +++ b/src/input_common/helpers/joycon_protocol/generic_functions.cpp @@ -38,7 +38,7 @@ DriverResult GenericProtocol::GetDeviceInfo(DeviceInfo& device_info) { device_info = {}; if (result == DriverResult::Success) { - memcpy(&device_info, output.data(), sizeof(DeviceInfo)); + memcpy(&device_info, output.data() + 15, sizeof(DeviceInfo)); } return result; |