Unverified Commit 3efb9b92 authored by Ignacio Sanchez Gines's avatar Ignacio Sanchez Gines Committed by GitHub
Browse files

Merge pull request #44 from piepacker/kivutar/fixp2inputs

Fix player 2 inputs in libretro
parents ba019393 70b628f9
Pipeline #42464 passed with stages
in 15 minutes
......@@ -274,7 +274,7 @@ static void update_input(void)
else
core->KeyReleased(static_cast<GS_Joypads>(player), Key_Right);
if (input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_B))
if (ib & (1 << RETRO_DEVICE_ID_JOYPAD_B))
core->KeyPressed(static_cast<GS_Joypads>(player), Key_1);
else
core->KeyReleased(static_cast<GS_Joypads>(player), Key_1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment