diff options
author | german77 <juangerman-13@hotmail.com> | 2021-04-27 05:07:16 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-04-27 05:07:16 +0200 |
commit | cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb (patch) | |
tree | 2db1743e3c26f6a8667c650e729b98c6661785a9 /src/core/hle/service/hid/controllers/console_sixaxis.cpp | |
parent | hid: Implement SevenSixAxis and ConsoleSixAxisSensor (diff) | |
download | yuzu-cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb.tar yuzu-cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb.tar.gz yuzu-cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb.tar.bz2 yuzu-cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb.tar.lz yuzu-cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb.tar.xz yuzu-cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb.tar.zst yuzu-cfdec68d5a8001453fbd49e9677f00ea3dfa9bcb.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/console_sixaxis.cpp')
-rw-r--r-- | src/core/hle/service/hid/controllers/console_sixaxis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/console_sixaxis.cpp b/src/core/hle/service/hid/controllers/console_sixaxis.cpp index 801e14b79..913768fab 100644 --- a/src/core/hle/service/hid/controllers/console_sixaxis.cpp +++ b/src/core/hle/service/hid/controllers/console_sixaxis.cpp @@ -77,10 +77,10 @@ void Controller_ConsoleSixAxis::OnLoadInputDevices() { Input::CreateDevice<Input::MotionDevice>); } -void Controller_ConsoleSixAxis::SetTransferMemoryPointer(u8* t_mem_1) { +void Controller_ConsoleSixAxis::SetTransferMemoryPointer(u8* t_mem) { is_transfer_memory_set = true; - transfer_memory = t_mem_1; -}; + transfer_memory = t_mem; +} void Controller_ConsoleSixAxis::ResetTimestamp() { auto& cur_entry = seven_six_axis.sevensixaxis_states[seven_six_axis.header.last_entry_index]; |