mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
emscripten: only report back one screen pointer for rwebinput
fixes lockup when clicking on an overlay
This commit is contained in:
parent
ef4d9b88bf
commit
c29241ec9e
@ -515,6 +515,7 @@ static int16_t rwebinput_input_state(
|
|||||||
device == RARCH_DEVICE_MOUSE_SCREEN);
|
device == RARCH_DEVICE_MOUSE_SCREEN);
|
||||||
case RETRO_DEVICE_POINTER:
|
case RETRO_DEVICE_POINTER:
|
||||||
case RARCH_DEVICE_POINTER_SCREEN:
|
case RARCH_DEVICE_POINTER_SCREEN:
|
||||||
|
if (idx == 0)
|
||||||
{
|
{
|
||||||
struct video_viewport vp;
|
struct video_viewport vp;
|
||||||
rwebinput_mouse_state_t
|
rwebinput_mouse_state_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user