diff options
| author | 2023-01-27 20:35:51 -0600 | |
|---|---|---|
| committer | 2023-01-29 19:11:46 -0600 | |
| 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.gz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.tar.xz yuzu-11fea5deea6dd72badbed521ac5639a48d591dc6.zip | |
input_common: joycon: Fill missing enum data
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) { | |||
| 38 | 38 | ||
| 39 | device_info = {}; | 39 | device_info = {}; |
| 40 | if (result == DriverResult::Success) { | 40 | if (result == DriverResult::Success) { |
| 41 | memcpy(&device_info, output.data(), sizeof(DeviceInfo)); | 41 | memcpy(&device_info, output.data() + 15, sizeof(DeviceInfo)); |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | return result; | 44 | return result; |