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/touchscreen.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/touchscreen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/touchscreen.cpp b/src/core/hle/service/hid/controllers/touchscreen.cpp index 5ba8d96a8..9ae2bf2b1 100644 --- a/src/core/hle/service/hid/controllers/touchscreen.cpp +++ b/src/core/hle/service/hid/controllers/touchscreen.cpp @@ -30,8 +30,8 @@ void Controller_Touchscreen::OnUpdate(const Core::Timing::CoreTiming& core_timin touch_screen_lifo.timestamp = core_timing.GetCPUTicks(); if (!IsControllerActivated()) { - touch_screen_lifo.entry_count = 0; - touch_screen_lifo.last_entry_index = 0; + touch_screen_lifo.buffer_count = 0; + touch_screen_lifo.buffer_tail = 0; std::memcpy(data, &touch_screen_lifo, sizeof(touch_screen_lifo)); return; } |