summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-09 02:28:23 +0100
committerbunnei <bunneidev@gmail.com>2015-03-10 23:05:19 +0100
commit432aa1044c12b9b2ac9815c6ab41917ac971a616 (patch)
treef95d2c33a68d50d1c402e4662c946be24333a0b8 /src/core/hle/service/hid/hid.cpp
parentHID: Added static asserts to check register position in shared memory. (diff)
downloadyuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.gz
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.bz2
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.lz
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.xz
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.tar.zst
yuzu-432aa1044c12b9b2ac9815c6ab41917ac971a616.zip
Diffstat (limited to 'src/core/hle/service/hid/hid.cpp')
-rw-r--r--src/core/hle/service/hid/hid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 29213e0fe..72e2d63e3 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -156,7 +156,7 @@ void TouchUpdateComplete() {
current_touch_entry->y = next_touch_y;
// TODO(bunnei): Verify this behavior on real hardware
- current_touch_entry->data_valid = (next_touch_x || next_touch_y) ? 1 : 0;
+ current_touch_entry->valid = (next_touch_x || next_touch_y) ? 1 : 0;
// TODO(bunnei): We're not doing anything with offset 0xA8 + 0x18 of HID SharedMemory, which
// supposedly is "Touch-screen entry, which contains the raw coordinate data prior to being