mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04: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
1 changed files with 1 additions and 0 deletions
|
@ -515,6 +515,7 @@ static int16_t rwebinput_input_state(
|
|||
device == RARCH_DEVICE_MOUSE_SCREEN);
|
||||
case RETRO_DEVICE_POINTER:
|
||||
case RARCH_DEVICE_POINTER_SCREEN:
|
||||
if (idx == 0)
|
||||
{
|
||||
struct video_viewport vp;
|
||||
rwebinput_mouse_state_t
|
||||
|
|
Loading…
Add table
Reference in a new issue