summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/touchscreen.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-10-28 01:06:13 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:26 +0100
commit2d3a63b28969089746e43ed232dc74630fbfc3b2 (patch)
treef75d3245b6e23815611796c85b96fa4c7674c3e2 /src/core/hle/service/hid/controllers/touchscreen.cpp
parentcore/hid: Add TAS input (diff)
downloadyuzu-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.cpp4
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;
}