Merge pull request #12035 from ToadKing/fix-emscripten-overlay-lockup

emscripten: only report back one screen pointer for rwebinput
This commit is contained in:
Autechre 2021-02-15 22:29:53 +01:00 committed by GitHub
commit cdba3e149d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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