diff options
Diffstat (limited to 'src/core/frontend/emu_window.cpp')
| -rw-r--r-- | src/core/frontend/emu_window.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/frontend/emu_window.cpp b/src/core/frontend/emu_window.cpp index 4f0f786ce..6b4637741 100644 --- a/src/core/frontend/emu_window.cpp +++ b/src/core/frontend/emu_window.cpp | |||
| @@ -70,14 +70,12 @@ void EmuWindow::TouchPressed(unsigned framebuffer_x, unsigned framebuffer_y) { | |||
| 70 | (framebuffer_layout.bottom_screen.bottom - framebuffer_layout.bottom_screen.top); | 70 | (framebuffer_layout.bottom_screen.bottom - framebuffer_layout.bottom_screen.top); |
| 71 | 71 | ||
| 72 | touch_pressed = true; | 72 | touch_pressed = true; |
| 73 | pad_state.touch.Assign(1); | ||
| 74 | } | 73 | } |
| 75 | 74 | ||
| 76 | void EmuWindow::TouchReleased() { | 75 | void EmuWindow::TouchReleased() { |
| 77 | touch_pressed = false; | 76 | touch_pressed = false; |
| 78 | touch_x = 0; | 77 | touch_x = 0; |
| 79 | touch_y = 0; | 78 | touch_y = 0; |
| 80 | pad_state.touch.Assign(0); | ||
| 81 | } | 79 | } |
| 82 | 80 | ||
| 83 | void EmuWindow::TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y) { | 81 | void EmuWindow::TouchMoved(unsigned framebuffer_x, unsigned framebuffer_y) { |