mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Prevent crash in Android
This commit is contained in:
parent
071912871b
commit
584e0c5110
@ -1183,7 +1183,8 @@ unsigned menu_input_frame_retropad(retro_input_t input, retro_input_t trigger_in
|
||||
if (!driver || !menu_input)
|
||||
return 0;
|
||||
|
||||
driver->retro_ctx.poll_cb();
|
||||
if (driver->retro_ctx.poll_cb)
|
||||
driver->retro_ctx.poll_cb();
|
||||
|
||||
/* don't run anything first frame, only capture held inputs
|
||||
* for old_input_state. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user