summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/touchscreen.h
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2019-01-25 18:26:47 +0100
committerfearlessTobi <thm.frey@gmail.com>2019-02-06 18:13:45 +0100
commit89abef351866b8bf1ffac3ccf5f9accab4be7509 (patch)
tree6eef6b5e8750627551f228cc6905e8326e421419 /src/core/hle/service/hid/controllers/touchscreen.h
parentcommon/bitfield: make it endianness-aware (diff)
downloadyuzu-89abef351866b8bf1ffac3ccf5f9accab4be7509.tar
yuzu-89abef351866b8bf1ffac3ccf5f9accab4be7509.tar.gz
yuzu-89abef351866b8bf1ffac3ccf5f9accab4be7509.tar.bz2
yuzu-89abef351866b8bf1ffac3ccf5f9accab4be7509.tar.lz
yuzu-89abef351866b8bf1ffac3ccf5f9accab4be7509.tar.xz
yuzu-89abef351866b8bf1ffac3ccf5f9accab4be7509.tar.zst
yuzu-89abef351866b8bf1ffac3ccf5f9accab4be7509.zip
Diffstat (limited to 'src/core/hle/service/hid/controllers/touchscreen.h')
-rw-r--r--src/core/hle/service/hid/controllers/touchscreen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/touchscreen.h b/src/core/hle/service/hid/controllers/touchscreen.h
index 94cd0eba9..be2583864 100644
--- a/src/core/hle/service/hid/controllers/touchscreen.h
+++ b/src/core/hle/service/hid/controllers/touchscreen.h
@@ -33,8 +33,8 @@ private:
struct Attributes {
union {
u32 raw{};
- BitField<0, 1, u32_le> start_touch;
- BitField<1, 1, u32_le> end_touch;
+ BitField<0, 1, u32> start_touch;
+ BitField<1, 1, u32> end_touch;
};
};
static_assert(sizeof(Attributes) == 0x4, "Attributes is an invalid size");