From d81d6058cdc33cf246c454b27e249a3a20cbb8f0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 29 Jan 2016 02:30:09 +0100 Subject: [PATCH] (Libretro test GL) If we don't call input_state at least once per retro_run then late input polling behavior won't work --- cores/libretro-test-gl/libretro-test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cores/libretro-test-gl/libretro-test.c b/cores/libretro-test-gl/libretro-test.c index 1a9b158ff2..8360bbafbb 100644 --- a/cores/libretro-test-gl/libretro-test.c +++ b/cores/libretro-test-gl/libretro-test.c @@ -350,6 +350,10 @@ void retro_run(void) input_poll_cb(); + if (input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP)) + { + } + #ifdef CORE glBindVertexArray(vao); if (multisample_fbo)