diff options
author | Lioncash <mathew1800@gmail.com> | 2021-05-17 21:04:58 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-05-18 09:32:42 +0200 |
commit | 2f1ef3910ba9fa7d6ac412039ff4b6541008a28b (patch) | |
tree | 35bcfec1401b31fc194eb59016667593b7cf8d35 /src/core/hle/service/hid/controllers/gesture.h | |
parent | hid/gesture: Rename Points to Point (diff) | |
download | yuzu-2f1ef3910ba9fa7d6ac412039ff4b6541008a28b.tar yuzu-2f1ef3910ba9fa7d6ac412039ff4b6541008a28b.tar.gz yuzu-2f1ef3910ba9fa7d6ac412039ff4b6541008a28b.tar.bz2 yuzu-2f1ef3910ba9fa7d6ac412039ff4b6541008a28b.tar.lz yuzu-2f1ef3910ba9fa7d6ac412039ff4b6541008a28b.tar.xz yuzu-2f1ef3910ba9fa7d6ac412039ff4b6541008a28b.tar.zst yuzu-2f1ef3910ba9fa7d6ac412039ff4b6541008a28b.zip |
Diffstat (limited to 'src/core/hle/service/hid/controllers/gesture.h')
-rw-r--r-- | src/core/hle/service/hid/controllers/gesture.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/gesture.h b/src/core/hle/service/hid/controllers/gesture.h index 21123c46c..619b6f3dc 100644 --- a/src/core/hle/service/hid/controllers/gesture.h +++ b/src/core/hle/service/hid/controllers/gesture.h @@ -64,8 +64,10 @@ private: static_assert(sizeof(Attribute) == 4, "Attribute is an invalid size"); struct Point { - s32_le x; - s32_le y; + s32_le x{}; + s32_le y{}; + + friend bool operator==(const Point&, const Point&) = default; }; static_assert(sizeof(Point) == 8, "Point is an invalid size"); |