BitField: Make trivially copyable and remove assignment operator

This commit is contained in:
MerryMage
2016-02-11 17:41:15 +00:00
parent f1d1049c4f
commit 6c71858c5c
12 changed files with 56 additions and 60 deletions

View File

@ -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