Merge pull request #9858 from ToadKing/emscripten-upgrades

fix bug in emscripten input code
This commit is contained in:
Twinaphex 2019-12-15 15:40:00 +01:00 committed by GitHub
commit 15838c2850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ static int16_t rwebinput_input_state(void *data,
for (i = 0; i < RARCH_FIRST_CUSTOM_BIND; i++) for (i = 0; i < RARCH_FIRST_CUSTOM_BIND; i++)
{ {
if (rwebinput_is_pressed( if (rwebinput_is_pressed(
rwebinput, joypad_info, port, binds[port], i)) rwebinput, joypad_info, binds[port], port, i))
{ {
ret |= (1 << i); ret |= (1 << i);
continue; continue;