Skip to content

Commit

Permalink
Fix missing input poll in libretro core (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiusbrown committed May 19, 2024
1 parent f3d8a09 commit 1d33c37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libretro_core/libretro_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void retro_reset()

void retro_run()
{
func_input_poll();
bool btn_U = func_input_state(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP);
bool btn_D = func_input_state(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN);
bool btn_L = func_input_state(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_LEFT);
Expand Down

0 comments on commit 1d33c37

Please sign in to comment.