diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-11 17:41:15 +0000 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-12 19:51:16 +0000 |
| commit | 6c71858c5c698a718045ba44eda495080417a84b (patch) | |
| tree | 0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/core/hle/service/hid | |
| parent | f1d1049c4fdf51fd382f9afb6b5cd5f104e71b0e (diff) | |
BitField: Make trivially copyable and remove assignment operator
Diffstat (limited to 'src/core/hle/service/hid')
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 2 |
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 0bed0ce36..11d7e69a1 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -105,7 +105,7 @@ void Update() { bool pressed = false; std::tie(touch_entry->x, touch_entry->y, pressed) = VideoCore::g_emu_window->GetTouchState(); - touch_entry->valid = pressed ? 1 : 0; + touch_entry->valid.Assign(pressed ? 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 |
