Commit 70b628f9 authored by Jean-Andre Santoni's avatar Jean-Andre Santoni
Browse files

Fix player 2 inputs in libretro

parent ba019393
......@@ -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