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

@ -55,14 +55,14 @@ void EmuWindow::TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y) {
(framebuffer_layout.bottom_screen.bottom - framebuffer_layout.bottom_screen.top);
touch_pressed = true;
pad_state.touch = 1;
pad_state.touch.Assign(1);
}
void EmuWindow::TouchReleased() {
touch_pressed = false;
touch_x = 0;
touch_y = 0;
pad_state.touch = 0;
pad_state.touch.Assign(0);
}
void EmuWindow::TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y) {