diff options
author | german77 <juangerman-13@hotmail.com> | 2021-05-01 02:28:21 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-05-01 02:28:21 +0200 |
commit | 1ed1dd3c894bd765094720da2e8654d2f4e7e603 (patch) | |
tree | 9963ce7170bd843b1997fa6fb0730dce8f7e1d2a /src/core/hle/service/hid/controllers/gesture.cpp | |
parent | Merge pull request #6257 from Morph1984/fix-use-after-free-webapplet (diff) | |
download | yuzu-1ed1dd3c894bd765094720da2e8654d2f4e7e603.tar yuzu-1ed1dd3c894bd765094720da2e8654d2f4e7e603.tar.gz yuzu-1ed1dd3c894bd765094720da2e8654d2f4e7e603.tar.bz2 yuzu-1ed1dd3c894bd765094720da2e8654d2f4e7e603.tar.lz yuzu-1ed1dd3c894bd765094720da2e8654d2f4e7e603.tar.xz yuzu-1ed1dd3c894bd765094720da2e8654d2f4e7e603.tar.zst yuzu-1ed1dd3c894bd765094720da2e8654d2f4e7e603.zip |
Diffstat (limited to '')
-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 155808f6a..71545bf1f 100644 --- a/src/core/hle/service/hid/controllers/gesture.cpp +++ b/src/core/hle/service/hid/controllers/gesture.cpp @@ -33,7 +33,7 @@ void Controller_Gesture::OnUpdate(const Core::Timing::CoreTiming& core_timing, u shared_memory.header.timestamp = core_timing.GetCPUTicks(); shared_memory.header.total_entry_count = 17; - if (!IsControllerActivated()) { + if (!IsControllerActivated() || !Settings::values.touchscreen.enabled) { shared_memory.header.entry_count = 0; shared_memory.header.last_entry_index = 0; return; |