Merge pull request #9858 from ToadKing/emscripten-upgrades
fix bug in emscripten input code
This commit is contained in:
commit
15838c2850
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue