diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-25 03:27:00 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:25 +0100 |
commit | f01dac3bf934657059b77bae3630201110f83e3d (patch) | |
tree | 0a451f6b23c9eed1af33fa9d3fedd67261a12c90 /src/core/hle/service/hid/controllers/gesture.cpp | |
parent | settings: Fix mouse and keyboard mappings (diff) | |
download | yuzu-f01dac3bf934657059b77bae3630201110f83e3d.tar yuzu-f01dac3bf934657059b77bae3630201110f83e3d.tar.gz yuzu-f01dac3bf934657059b77bae3630201110f83e3d.tar.bz2 yuzu-f01dac3bf934657059b77bae3630201110f83e3d.tar.lz yuzu-f01dac3bf934657059b77bae3630201110f83e3d.tar.xz yuzu-f01dac3bf934657059b77bae3630201110f83e3d.tar.zst yuzu-f01dac3bf934657059b77bae3630201110f83e3d.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/gesture.cpp')
-rw-r--r-- | src/core/hle/service/hid/controllers/gesture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/gesture.cpp b/src/core/hle/service/hid/controllers/gesture.cpp index 7a7bc68a2..47760b4f8 100644 --- a/src/core/hle/service/hid/controllers/gesture.cpp +++ b/src/core/hle/service/hid/controllers/gesture.cpp @@ -43,7 +43,7 @@ void Controller_Gesture::OnUpdate(const Core::Timing::CoreTiming& core_timing, u if (!IsControllerActivated()) { gesture_lifo.entry_count = 0; gesture_lifo.last_entry_index = 0; - std::memcpy(data, &gesture_lifo, sizeof(gesture_lifo)); + std::memcpy(data + SHARED_MEMORY_OFFSET, &gesture_lifo, sizeof(gesture_lifo)); return; } |