mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(Menu) Fix touch compatibility with the framebuf.dirty optimization
This commit is contained in:
parent
128cf327a3
commit
0a56e3dcaa
@ -699,7 +699,8 @@ static int menu_input_pointer(unsigned *action)
|
|||||||
menu->pointer.x = ((pointer_x + 0x7fff) * (int)menu->frame_buf.width) / 0xFFFF;
|
menu->pointer.x = ((pointer_x + 0x7fff) * (int)menu->frame_buf.width) / 0xFFFF;
|
||||||
menu->pointer.y = ((pointer_y + 0x7fff) * (int)menu->frame_buf.height) / 0xFFFF;
|
menu->pointer.y = ((pointer_y + 0x7fff) * (int)menu->frame_buf.height) / 0xFFFF;
|
||||||
|
|
||||||
if (menu->pointer.pressed[0] || menu->pointer.back || menu->pointer.dragging
|
if (menu->pointer.pressed[0] || menu->pointer.oldpressed[0]
|
||||||
|
|| menu->pointer.back || menu->pointer.dragging
|
||||||
|| menu->pointer.dy != 0 || menu->pointer.dx != 0)
|
|| menu->pointer.dy != 0 || menu->pointer.dx != 0)
|
||||||
runloop->frames.video.current.menu.animation.is_active = true;
|
runloop->frames.video.current.menu.animation.is_active = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user