diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-28 01:06:13 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-25 03:30:26 +0100 |
commit | 2d3a63b28969089746e43ed232dc74630fbfc3b2 (patch) | |
tree | f75d3245b6e23815611796c85b96fa4c7674c3e2 /src/core/hle/service/hid/controllers/xpad.cpp | |
parent | core/hid: Add TAS input (diff) | |
download | yuzu-2d3a63b28969089746e43ed232dc74630fbfc3b2.tar yuzu-2d3a63b28969089746e43ed232dc74630fbfc3b2.tar.gz yuzu-2d3a63b28969089746e43ed232dc74630fbfc3b2.tar.bz2 yuzu-2d3a63b28969089746e43ed232dc74630fbfc3b2.tar.lz yuzu-2d3a63b28969089746e43ed232dc74630fbfc3b2.tar.xz yuzu-2d3a63b28969089746e43ed232dc74630fbfc3b2.tar.zst yuzu-2d3a63b28969089746e43ed232dc74630fbfc3b2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/xpad.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/xpad.cpp b/src/core/hle/service/hid/controllers/xpad.cpp index aa9f044f1..a2ed1e7c2 100644 --- a/src/core/hle/service/hid/controllers/xpad.cpp +++ b/src/core/hle/service/hid/controllers/xpad.cpp @@ -20,8 +20,8 @@ void Controller_XPad::OnRelease() {} void Controller_XPad::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8* data, std::size_t size) { if (!IsControllerActivated()) { - basic_xpad_lifo.entry_count = 0; - basic_xpad_lifo.last_entry_index = 0; + basic_xpad_lifo.buffer_count = 0; + basic_xpad_lifo.buffer_tail = 0; std::memcpy(data + SHARED_MEMORY_OFFSET, &basic_xpad_lifo, sizeof(basic_xpad_lifo)); return; } |